如何启用蓝牙,时间:
- (void)centralManagerDidUpdateState:(CBCentralManager *)central {
NSString * state = nil;
switch (central.state) {
case CBCentralManagerStatePoweredOff:
// Power Off
// how turn on?
break;
}
}
感兴趣的iOS 10。