Add icon to home screen like Safari

前端 未结 1 1141
被撕碎了的回忆
被撕碎了的回忆 2021-02-04 22:39

I saw the Bug Me iPhone app and was intrigued by the ability to add icons to the home screen. I figured it would work similar to the way that Safari achieves it.

There a

相关标签:
1条回答
  • 2021-02-04 23:03

    You have to use Safari.

    BugMe saves the note on home screen by:

    1. Upload the note to their server.
    2. Launch Safari by -openURL: with a URL to their server.
    3. In Safari, the user is instructed to press the "+" key to add a special bugme:// link to home screen.

    There's no other ways if only documented methods can be used.


    For private APIs, create a UIWebClip object and use -[UIApplication addWebClipToHomeScreen:].

    0 讨论(0)
提交回复
热议问题