Is it possible to detect if bluetooth is turned off?
Also my app requests use of Bluetooth, but I’m not sure how to determine if it’s been permitted or not.
Is there a way to do this?
Is it possible to detect if bluetooth is turned off?
Also my app requests use of Bluetooth, but I’m not sure how to determine if it’s been permitted or not.
Is there a way to do this?
See example here:
https://www.monkeybreadsoftware.net/example-bluetooth-macbluetooth-corebluetoothdevices.shtml
So you may need to wait for DidUpdateState event to tell you whether you get kStatePoweredOn or kStatePoweredOff.
Thank you, Christian.