使用beacon唤醒APP在后台扫描BLE - IOS

时间:2016-09-24 04:03:00

标签: ios bluetooth scanning beacon

我想用ibeacon在后台唤醒APP来扫描蓝牙,我已经成功唤醒了APP,但执行后扫描,但发现无法执行,我该怎么办 enter image description here 当APP使用ibeacon唤醒此步骤,并继续执行它

manager.scanForPeripheralsWithServices([CBUUID(string: "6600")], options: [CBCentralManagerScanOptionAllowDuplicatesKey: true])

但无法执行此步骤

centralManager(central: CBCentralManager, didDiscoverPeripheral peripheral: CBPeripheral, advertisementData: [String : AnyObject], RSSI: NSNumber)

0 个答案:

没有答案
相关问题