ios - 从后台 iOS 应用程序与 BLE 设备通信

标签 ios ios5 bluetooth core-bluetooth bluetooth-lowenergy

如何在 iOS 5 的后台与支持 BTLE 的设备通信?

最佳答案

上周我有同样的问题(问题),有人给了我答案。这是可能的,为此,您需要将以下设置添加到您的 info.plist 文件中:

UIBackgroundModes(或要求的背景模式)-> "bluetooth-central"

关于ios - 从后台 iOS 应用程序与 BLE 设备通信,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8717453/

相关文章:

ios - Tableview didSelectRowAtIndexPath 不起作用

ios - 当我的应用程序邮件有多个收件人时出现问题 - Objective c

ios - 关于在 Swift 4 中返回 CGFloat 值

ios - 阻止 UIWebView 上的交互,同时保持其滚动功能

ios - 强制下载 iOS 5.0.1 符号

android - 在 Android 后台保持蓝牙连接?

ios - 似乎无法让核心蓝牙工作

java - Android中如何连接蓝牙设备?

php - 使用 STS 凭据授权 AWS - 没有 session token

ios - 如何获得 map 上的中心位置和可见半径?