API MISUSE: <CBCentralManager: 0x000000000> can only accept this command while in the powered on
本文档介绍了在使用蓝牙功能时遇到的报错,重点在于解决当中央管理器状态未变为CBManagerStatePoweredOn时,如何正确处理scan方法调用。解决方案围绕中央管理器状态更新回调 centralManagerDidUpdateState: 方法展开。
本文档介绍了在使用蓝牙功能时遇到的报错,重点在于解决当中央管理器状态未变为CBManagerStatePoweredOn时,如何正确处理scan方法调用。解决方案围绕中央管理器状态更新回调 centralManagerDidUpdateState: 方法展开。
2768
3495

被折叠的 条评论
为什么被折叠?