且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

iBeacon移动Web应用程序开发

更新时间:2022-12-21 21:06:40

不幸的是,没有。

您可以编写一个在后台查找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.