Search code examples
iosmobile-safari

How to open iOS system apps from HTML website?


How could I put a link in html that would open an iOS system app such as settings or music from safari?

Something like:

<a href="settings">Open Settings App</a>

I have no idea what to search to find how to to this!


Solution

  • You need to use the URL Scheme Reference:

    https://developer.apple.com/library/content/featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html#//apple_ref/doc/uid/TP40007899-CH1-SW1