iOS Swift URL scheme

URL scheme

What is URL scheme? Some people calls it as “deeplink”
We can open application from link using browser.
The user press link, or input URL in URL box on browser, and open application.

How to

XCode has setting view to set URL Scheme.
It’s so easy.
“Info” -> “URL Types”
URL Schemes

URL Schemes is a key.
URL Schemes

For example, input “atmarkplantapp”, atmarkplantapp:// becomes to entrance for this app from browser.
Safari recognizes scheme and opens application.