Add an icon to your home screen, such as Safari

I saw the iPhone Bug Me app and was intrigued by the ability to add icons to the home screen. I decided that it would be similar to how Safari achieves this.

There, as in a similar question, it was said here that this is impossible: Implementation "Add to the main screen", ala Safari

It is clear that there is a way, and I am not looking in the right places.

Has anyone else worked this out?

+3
source share
1 answer

You need to use Safari.

BugMe saves a note on the main screen:

  • Upload the note to your server.
  • Launch Safari using -openURL:with the URL on your server.
  • Safari "+", bugme:// .

, .


API- UIWebClip -[UIApplication addWebClipToHomeScreen:].

+7

Source: https://habr.com/ru/post/1741084/


All Articles