以编程方式在主屏幕上启动Web应用程序? [英] Programmatically launch a web app on the home screen?

查看:104
本文介绍了以编程方式在主屏幕上启动Web应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个企业应用程序,该应用程序的Web应用程序已添加到iPad的主屏幕中.我希望能够从本机XCode应用程序启动Web应用程序.这可能吗?

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?

谢谢

推荐答案

自定义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.

这篇关于以编程方式在主屏幕上启动Web应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆