有没有一种方法可以通过编程方式将网站快捷方式添加到iPhone? [英] Is there a method to programmatically add a website shortcut to the iPhone?

查看:66
本文介绍了有没有一种方法可以通过编程方式将网站快捷方式添加到iPhone?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望在我的网站上添加一个按钮,以方便人们将其转换为手机上的快捷方式.

I am looking to add a button to my website which easily allows people to turn the site into a shortcut on their phone.

我希望自动执行此处显示的操作:

I'm looking to automate the actions shown here: http://www.simpleleapsoftware.com/blog/how-to-create-shortcuts-iphone-ipod-touch-115 for my users, specifically for my website.

如果在网站上放置按钮不是最简单的操作方式,那么我愿意接受使网站链接变得更轻松的其他选择.

I'm open to any alternative ideas of making the process of adding a link to my website less painful, if putting a button on the site is not the easiest way of doing things.

推荐答案

我知道这不是一个非常有用的答案,但我对此表示怀疑,但对此我表示怀疑.如果Apple允许自动执行此类操作(即通过按网站上的按钮),那么恶意网站在没有用户任何授权的情况下进行操作将是微不足道的.您是否听说过在桌面浏览器上会自动添加书签的网站?据我所知,这是不可能的,并且有充分的理由.如果用户想要主屏幕按钮,则必须自己添加它.我认为您能做的最好的事情就是拥有一个简单的指导性图形,向用户展示如何自己做到这一点.

I know this isn't a very helpful answer, but I seriously, seriously doubt this is possible. If Apple were to allow such an action to be automated, i.e. by pressing a button on the site, then it would be trivial for malevolent websites to do it without any kind of authorization from the user. Have you ever heard of a site that automatically adds bookmarks, say on a desktop browser? To the best of my knowledge, it can't be done, and for good reasons. If the user wants a home screen button, they'll have to add it themselves. I think the best you can do is have a simple instructional graphic that shows the user how to do it for themselves.

这篇关于有没有一种方法可以通过编程方式将网站快捷方式添加到iPhone?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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