iosswiftmobile-safarihomescreenappicon

Create a shortcut on iOS Homescreen from my App (post iOS 16)


I want to offer my users to create shortcuts on the homescreen on iOS to content in my app.

Previously there was a workaround using safari with website embedded into a data: URI, but now on newer iOS versions (>=16), safari refuses to load websites from data: URIs. Is there some new method that works similarly easy or even easier (less steps) for users?

As far as I know there are only 2 ways for users to create new icons on the homescreen:

There are some icon replacer/theme apps in the appstore, the ones I tried worked by the safari data: method, which is now broken/forbidden on newer versions of iOS 16.

Alternatives considered:


Solution

  • Right now, there's no easy one-click way to replace that Safari trick for making Home Screen shortcuts. You can use Apple's Shortcuts app to do something similar, but it's a bit of a hassle.

    One workaround you might try is making a web app and directing users to create a Home Screen shortcut from there. You'd still be using Safari, but you'd sidestep the need for a web server. Just keep in mind, this won't work if the user is offline.

    Another option are widgets. These are like mini apps that live right on your home screen. They're smaller than a full app but can be a quick way for users to tap into your content.

    I hope that clears things up!