【发布时间】:2013-10-07 14:45:54
【问题描述】:
在 iOS 6 中it's not possible to check if bluetooth is on without a system popup being shown:
CBCentralManager* testBluetooth = [[CBCentralManager alloc] initWithDelegate:nil queue: nil];
但是,当 [[CBCentralManager alloc] init...] 发生时,如果蓝牙关闭,系统会向用户弹出警报。
现在在 iOS 7 中可以实现吗?
【问题讨论】: