I'm working with CoreBluetooth
and I'm using CBCentralManager
and its delegates. But the problem is that when I run my code in iOS 11-Beta 4
I get power off state in delegate - (void)centralManagerDidUpdateState:(CBCentralManager *)central
while bluetooth is ON.
When I turn bluetooth off and then turn it back to on, it returns power on. Also it is working fine in iOS 10 and 9. The peripheral is working fine too and it is discoverable using LightBlue application in iOS 11-Beta 4. I'm not sure why it's happening.