简体   繁体   English

是否可以通过javascript或jquery打开iPhone“添加到家庭”屏幕?

[英]Is way to open iphone “add to home” screen through javascript or jquery?

I am developing web-application using tapestry. 我正在使用挂毯开发Web应用程序。 In my landing page I have added apple touch icon link. 在目标网页中,我添加了Apple touch图标链接。

<link rel="apple-touch-icon-precomposed" href="${context:layout/images/App_icon.png}"> </link>

When user come to my landing page, I want to open "add to home" screen automatically. 当用户来到我的登录页面时,我想自动打开“添加到首页”屏幕。

Is way to open iphone "add to home" screen through Javascript or jquery? 是否可以通过Javascript或jquery打开iPhone“添加到家庭”屏幕?

Please give me your valuable suggestion. 请给我您的宝贵建议。

you can use this http://cubiq.org/add-to-home-screen plugin. 您可以使用此http://cubiq.org/add-to-home-screen插件。 I think it will give you the result needed. 我认为它将为您提供所需的结果。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Javascript 用于 iPhone 上的“添加到主屏幕”? - Javascript for "Add to Home Screen" on iPhone? 有没有办法确定用户是否通过JavaScript中的iPhone书签(添加到主屏幕)访问了我的网站? - is there a way to determine if the user is visiting my website via iphone bookmark (add to home screen) in javascript? 需要帮助将 jquery 转换为 javascript,添加到苹果的主屏幕 - Need help converting jquery to javascript, add to home screen on apple Android相当于iPhone的“添加到主屏幕”? - Android equivalent of the iPhone's “Add to Home Screen”? 使用 javascript 添加到主屏幕功能 - Add to home screen functionality using javascript 有没有一种方法可以模拟iPHone的“主页”按钮按下并通过javascript重新启动应用程序 - Is there a way to simulate iPHone “Home” button press and relaunch the application throught javascript 主屏幕持久性上的iPhone WebApp - iPhone WebApp on Home Screen Persistence 无论如何,是否可以使用Javascript将添加到主屏幕 - 应用程序图标添加到主屏幕? - Is there anyway to find whether the add to home screen - app icon has been added to home screen using Javascript? 有没有办法只在索引上显示 PWA“添加到主屏幕”? - Is there way to only show the PWA 'Add to Home Screen' on index? 添加到主屏幕 - ADD to HOME SCREEN
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM