Core Bluetooth CBCentralManager 始终在 ipad2 上将状态报告为未知

Core Bluetooth CBCentralManager always reports state as Unknown on ipad2

我正在使用 corebluetooth 连接蓝牙打印机,但 ipad2 有问题。当我扫描设备时,CBCentralManager 总是调用状态不受支持的 centralManagerDidUpdateState,并且无法调用另一个委托方法。

我今天遇到了同样的问题。

CoreBluetooth 适用于 BLE 和蓝牙 4.0。 iPad 2 不支持 BLE,因此你得到一个未知状态。