views:

41

answers:

1

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 possibility of finding them.

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

A: 

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.

middaparka
Yes and GK is used in the app, but it cannot produce any real results without bluetooth. If the user has disabled bluetooth on his iPhone/iPod, then the search for peers goes on forever, which is something I'd rather avoid.
Bujtor