开发者

iOs And Android: create a bookmark -shortcut- in homescreen by javascript

开发者 https://www.devze.com 2023-04-06 04:08 出处:网络
I am developing a web cross-browser app. I want that, clicking on \"ADD HOME\" icon, by Javascript detects the OS (Android, iOs, BB...) and creates a Shortcut (bookmark) on the Home开发者_运维百科Scr

I am developing a web cross-browser app.

I want that, clicking on "ADD HOME" icon, by Javascript detects the OS (Android, iOs, BB...) and creates a Shortcut (bookmark) on the Home开发者_运维百科Screen.

Is it possible?

Thanks a lot.


At least on iOS(4.x) it isn't possible.

Read Javascript for "Add to Home Screen" on iPhone? for details. As it is suggested, you can add a bubble, dialog or some other information to guide the user for using iOS's own functionality.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号