iBeacon移动Web应用程序开发 [英] iBeacon mobile web application development
问题描述
是否有任何自定义API可以从移动Web应用程序访问iBeacon?可能它可能是一个移动的野生动物园扩展。
Are there any custom APIs for iBeacon access from mobile web applications? Probably it could be a mobile safari extension.
提前致谢。
推荐答案
不幸的是,没有。
您可以编写一个在后台查找iBeacons的原生iOS应用程序,并在移动版Safari上启动特定的Web应用程序URL。您甚至可以在查询参数中传递远程信标信息。
You could write a native iOS app that looks for iBeacons in the background and launches a specific web app URL on mobile Safari. You could even pass ranged beacon info in query parameters.
但您仍然需要在手机上安装本机应用才能执行此操作。一旦Safari页面启动,除非您使用复杂的Web服务代理到本机应用程序,否则无法进行进一步的更新。
But you would still need a native app installed on the phone to do this. And once the Safari page is launched, getting further updates is impossible, unless you use a complex web service proxy to the native app.
这篇关于iBeacon移动Web应用程序开发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!