【发布时间】:2012-02-07 01:34:28
【问题描述】:
我想在我的应用处于特定活动和后台模式时获得 CoreBluetooth 通知信号。
我想检测这个信号来唤醒 App 播放音乐。这是可能的。
【问题讨论】:
-
这个问题类似于this one
标签: notifications core-bluetooth
我想在我的应用处于特定活动和后台模式时获得 CoreBluetooth 通知信号。
我想检测这个信号来唤醒 App 播放音乐。这是可能的。
【问题讨论】:
标签: notifications core-bluetooth
在 Info.plist 中添加一个 UIBackgroundModes 属性并在数组中包含 bluetooth-central。
【讨论】: