Is there any way to programmatically check if Bluetooth is enabled on an iOS device?
I'm currently developing a native app in Objective-C and making use of GKSession
and a custom peer picker rather than the GK Peer Picker
.
Is it possible to grab values from the Settings application on load or attempt to send out a packet with Bluetooth to see if it failed? It seems as though GKSession
doesn't even allow the developer to distinguish whether or not data is sent over Wifi or Bluetooth. I'm not looking to enable or disable Bluetooth in the app; I just want to check its status.