我的 BLE 应用程序在后台运行并扫描外围设备,但委托方法centralManager:didDiscoverPeripheral:advertisementData:RSSI:
没有回调。我已经在 Info.plist 中为UIBackgroundModes
. 为什么?如何解决?
我的 BLE 应用程序在后台运行并扫描外围设备,但委托方法centralManager:didDiscoverPeripheral:advertisementData:RSSI:
没有回调。我已经在 Info.plist 中为UIBackgroundModes
. 为什么?如何解决?