相关疑难解决方法(0)

什么时候CBCentralManager的状态会启动,但仍然给我一个"未启动"警告?

当我运行在iPhone 5上使用CoreBluetooth的应用程序时,我一直收到此错误: <CBConcreteCentralManager: 0x2007d590> is not powered on

但是当我调用state我的程序的唯一一个CBCentralManager对象时,它返回5,即CBCentralManagerStatePoweredOn.所以它已启动,但我收到此错误.iPhone的蓝牙也已启用.

总的来说,什么时候会发生?我甚至不知道程序运行时发生了什么,因为我得到了看起来像冲突的消息.

iphone bluetooth ios core-bluetooth cbcentralmanager

14
推荐指数
1
解决办法
9078
查看次数