OC-开发案例收集

ios蓝牙后台运行

2019-10-24  本文已影响0人  哪有猫不吃鱼

ios蓝牙运行有两种方式:

方式一:

在info.plist文件中加入Array类型的Required background modes字段并添加两个元素App shares data using CoreBluetooth和App communicates using CoreBluetooth,如图

方式二:

上一篇 下一篇

猜你喜欢

热点阅读