[英]App that works as iBeacon. How to be discovered even with the app has terminated?
I'm trying to use iBeacon in background mode and works fine, but I want that the app works when has been terminated by the system. 我正在尝试在后台模式下使用iBeacon并且工作正常,但我希望该应用程序在系统终止时有效。 It's possible to do this?
有可能这样做吗?
Thanks! 谢谢!
It is possible to write your app so it launches into the background when LocationServices sees an iBeacon, even if your app is terminated. 可以编写您的应用程序,以便在LocationServices看到iBeacon时启动到后台,即使您的应用程序已终止。 See my answer here: https://stackoverflow.com/a/19128781/1461050
请在此处查看我的回答: https : //stackoverflow.com/a/19128781/1461050
It should just work, unless the user removes the app. 它应该工作,除非用户删除应用程序。 It's not the app itself that shows the beacon, it is the operating system showing the beacon on behalf of the app.
它不是显示信标的应用程序本身,而是代表应用程序显示信标的操作系统。 That doesn't change when the OS terminates the app, only if the user does it.
当操作系统终止应用程序时,仅当用户执行此操作时,这不会更改。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.