且构网

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

以编程方式在主屏幕上启动Web应用程序?

更新时间:2023-01-25 21:45:27

自定义URL会打开其他本机应用程序.如果要打开Web应用程序,则只需传递http://URL,但是这样做会加载标准Safari浏览器,而不是在主屏幕中点击Web Clip时会获得的新Webkit实例.

Custom URLs open other native apps. If you want to open a web app, you can simply pass the http:// URL, however, doing so will load the standard Safari browser rather than a new instance of webkit that you would get with tapping the web clip in the home screen.