-->

Programmatically launch a web app on the home scre

2019-08-08 13:11发布

问题:

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.