ios - 如果一部 iphone 有两个同时传输 ibeacon 信号的应用程序,它们会相互竞争吗?

标签 ios iphone bluetooth bluetooth-lowenergy ibeacon

每部手机只有一个蓝牙设备,但可能有多个应用程序要传输 ibeacon 信号。将传输哪个信号?后面启动的应用?

最佳答案

前台的应用。

来自 Apple 文档:

Any iOS device that supports sharing data using Bluetooth low energy can be used as an iBeacon. Because the app you write must run in the foreground, iBeacon support on iOS devices is intended for testing purposes and for apps that always run in the foreground anyway, such as point-of sale apps. For other types of iBeacon implementations, you need to acquire dedicated beacon hardware from third-party manufacturers.

https://developer.apple.com/library/ios/documentation/userexperience/conceptual/LocationAwarenessPG/RegionMonitoring/RegionMonitoring.html#//apple_ref/doc/uid/TP40009497-CH9-SW12

关于ios - 如果一部 iphone 有两个同时传输 ibeacon 信号的应用程序,它们会相互竞争吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23978850/

相关文章:

ios - 没有今天和观看扩展的 Xcodebuild 目标

iphone - 当可以使用 NSUserDefaults 时,为什么要使用单例在多个 View Controller 之间共享数据?

iphone - NSPredicate 比较字符串小于其他字符串

ios - 如何检测蓝牙设备的音频来自哪个设备

安卓 3.1 : getDefaultAdapter() returns null in android

ios - 无法在 TableViewController 之间传递数据

iOS - 为什么我的 UIAlertView 上的底部项目是粗体?

ios - 在 Swift 中从相机裁剪图像而无需移动到另一个 ViewController

ios - 获取 *.mov 视频 IOS 的缩略图

javax.bluetooth 包