I want to enable/disable Bluetooth programmatically without using private API (which will be rejected by App Store). I just see CoreBluetooth can get current bluetooth state. Can I archive it with CoreBluetooth, I cannot find out any relevant information to that.
Thanks for any advanced help!!!
You cannot enable or disable the Bluetooth radio through an app. You can disable your own app's use of Bluetooth but the Bluetooth radio will still be enabled.
Only the user can enable/disable Bluetooth through settings.
You cannot switch On/Off the bluetooth from your app as it is not available in the Core Bluetooth framework. You can simply pull out the Notification centre to switch it ON and Off which can easily serve your purpose.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With