https://bugreport.apple.com/web/?problemID=40125114
1.Shutting down Bluetooth in the control center
2.Shutting down Bluetooth in the system settings
3.Open Bluetooth in system settings
now, Bluetooth is open .( system settings && control center )
but in the code , Bluetooth doesn't work.
any operation of Bluetooth , log is:
[CoreBluetooth] API MISUSE: <CBCentralManager: 0x1014f8150> can only accept this command while in the powered on state
As long as last operation is turn off Bluetooth at the control center, no matter how to operate the Bluetooh switch in system settings, Bluetooth will not work.