问题描述
我一直在研究有关使用iBeacon在后台模式下进行传输的所有论坛和教程.到目前为止,我找不到能帮助我的东西.我的应用程序可以成功接收和传输,但是当我按下主屏幕按钮时,传输停止,并且其他设备上的连接消失.在myApp.plist中,我添加了必需的键,但仍然无济于事.问题是,如何使我的应用程序继续在后台模式下传输?
I have been digging all forums and tutorials about transmitting in background mode with iBeacon. Until now, I couldn't find something solid which can help me. My app can successfully receive and transmit but when I press home button, transmitting stops and connection on other device/devices disappear. In myApp.plist, I added required keys but still nothing works. The question is, how can I make my app keep transmitting in background mode?
推荐答案
iBeacon不会在后台做广告(发送).如果需要,您将无法使用iBeacon,而需要实施自己的BTLE广告(将在后台运行).
iBeacon will not advertise (transmit) in the background. If you need this you will not be able to use iBeacon and will instead need to implement your own BTLE advertisement (which will run in the background).
这篇关于应用程序在后台时使用iBeacon进行广告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!