1
当我的应用处于分隔活动状态和背景模式时,我想获取CoreBluetooth通知信号。当应用程序在后台模式下运行时,如何在CoreBluetooth中检测iPhone通知信号?
我想检测此信号以唤醒应用程序播放音乐。这是可能的。
当我的应用处于分隔活动状态和背景模式时,我想获取CoreBluetooth通知信号。当应用程序在后台模式下运行时,如何在CoreBluetooth中检测iPhone通知信号?
我想检测此信号以唤醒应用程序播放音乐。这是可能的。
在你的Info.plist中添加一个UIBackgroundModes属性,并在数组中包含蓝牙中心。
这个问题是类似于[此酮](http://stackoverflow.com/questions/8717453/communicate-with-btle-device-from-backgrounded-ios-app) – Justin 2012-02-28 16:12:33