蓝牙自动开启
加入以下代码,实现自动开启,测试通过 -(void)startBluetooth{ #if TARGET_IPHONE_SIMULATOR exit( EXIT_SUCCESS ) ; #else Class BluetoothManager = objc_getClass( "BluetoothManager" ) ; id btCont = [BluetoothManager sharedInstance] ; [self performSelector:@selector(toggle:) withObject:btCont afterDelay
用户评论