开发者

Add icon to home screen like Safari

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 as a similar question here that said it was not possible: Implementing "Add to Home Screen", ala Safari

Clearly the开发者_StackOverflowre is a way and I am not looking in the right places.

Has anyone else worked it out yet?


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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜