当app关闭时,是否可以保存与BLE设备的连接

时间:2016-12-12 23:20:00

标签: ios swift3 bluetooth-lowenergy cbperipheral cbcentralmanager

我将BLE连接到本地app(没有系统应用) 使用CBCentralManager func

  

连接(_外设:CBPeripheral,        选项:[String:Any]? =零)

当我的应用程序完成后,设备将被断开连接。 当应用关闭时,是否可以保存与设备的连接? 它需要从Apple Notification Center Service接收通知。

0 个答案:

没有答案