ios蓝牙运行有两种方式:
方式一:
在info.plist文件中加入Array类型的Required background modes字段并添加两个元素App shares data using CoreBluetooth和App communicates using CoreBluetooth,如图

方式二:

ios蓝牙运行有两种方式:
方式一:
在info.plist文件中加入Array类型的Required background modes字段并添加两个元素App shares data using CoreBluetooth和App communicates using CoreBluetooth,如图
方式二: