开发者

Finding out, whether Bluetooth is enabled or not on an iPod/iPhone

I'm writing an app, that automatically finds peers running the same app, so I need the Bluetooth-device. But because of app-restrictions I'm not allowed to use the private framework to enable, or activate the Bluetooth-device. I'd rather avoid a pointless searching for peers if there's no po开发者_高级运维ssibility of finding them.

Is there any way to find out, whether it is already activated, so I could at least throw an error message?


Have you checked out the Game Kit Framework reference?

According to Apple:

Game Kit offers your applications the ability to create Bluetooth connections between two devices.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜