当我的应用程序处于空间化活动和后台模式时,我想获得CoreBluetooth通知信号。
我想检测这个信号来唤醒应用程序播放音乐。这是可能的。
在Info.plist中添加一个UIBackgroundModes属性,并在阵列中包含蓝牙中心。
https://developer.apple.com/library/ios/#documentation/general/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html