仅通过蓝牙设置 iPhone P2P,不使用 GKPeerPickerController
我想在 p2p 游戏中使用自定义界面与其他 iDevice 进行连接。我知道我可以使用 GKSession 和 GKSessionDelegate 或使用较低级别的 Bonjour 浏览。但他们都会通过蓝牙和 WiFi 搜索设备。
我只想列出蓝牙设备。我知道这在过去被认为是不可能的,但飞行控制应用程序似乎能够做到这一点。
I want to use a custom interface to connect with other iDevices in a p2p game. I know I can either use GKSession
and GKSessionDelegate
or use the lower level Bonjour browsing. But both of them will search for devices both over bluetooth AND wifi.
I want to list only bluetooth devices. I know this was answered in the past as impossible, but the Flight Control app seems to be able to do it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我想我会回答让你知道你并不孤单,我正在尝试做同样的事情,这让我很受挫!此链接可能对您有帮助:
http://www.iphonedevsdk.com/forum/iphone -sdk-development/40710-gamekit-api.html
我正在尝试设置服务器/客户端关系,这也要求我使用自己的自定义界面。
I thought I would answer to let you know that YOU ARE NOT ALONE, I am trying to do the same thing and it is kicking my butt! This link might help you:
http://www.iphonedevsdk.com/forum/iphone-sdk-development/40710-gamekit-api.html
I am trying to setup a server/client relationship and that requires me to use my own custom interface too.