Programmatically launch a web app on the home screen?

六眼飞鱼酱① 提交于 2019-12-11 11:12:39

问题


I have an enterprise application that has a web app added to the Home Screen of the iPad. I want to be able to launch the web app from my native XCode app. Is this possible?

Can a web app have an associated custom protocol registered?

Thanks


回答1:


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.



来源:https://stackoverflow.com/questions/9256053/programmatically-launch-a-web-app-on-the-home-screen

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!