简体   繁体   English

锁定后,iOS设备是否可以继续作为iBeacon设备发射?

[英]Can iOS devices continue emit as an iBeacon device when locked up?

As you know iOS devices can be used as iBeacon devices. 如您所知,iOS设备可用作iBeacon设备。 My question is, when using an iOS device as iBeacon, if you lock the screen without closing application that turns your device into iBeacon, will it continue to emit BLE ID to other devices? 我的问题是,在将iOS设备用作iBeacon时,如果在不关闭将设备转换为iBeacon的应用程序的情况下锁定屏幕,它将继续向其他设备发出BLE ID吗?

Unfortunately, no. 抱歉不行。 As soon as the lock screen comes up your application is no longer in the foreground, and transmission of the iBeacon advertisement will stop. 锁定屏幕出现后,您的应用程序将不再处于前台,并且iBeacon广告的传输将停止。

While you can advertise Bluetooth LE services in the background, this uses a special iOS format that is not compatible with the iBeacon profile. 虽然您可以在后台播发Bluetooth LE服务,但是它使用与iBeacon配置文件不兼容的特殊iOS格式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM