iOS "xxx"配件已断开连接。请打开“xxx”来重新连接
2021-11-15 本文已影响0人
wodeph
问题,APP在后台时,蓝牙断开,会有一个系统弹框提示
以下 取消蓝牙系统弹框方法
NSDictionary* options =@{CBCentralManagerOptionShowPowerAlertKey:@NO};
_centralManager = [[CBCentralManager alloc] initWithDelegate:self queue:nil options:options];