Hello
I have a free app on the App Store called Gidjit - Smart Launcher. Basically it allows you to launch apps and actions based on your environment from it’s widget or the app itself. There are also similar Launcher Apps with varying features. They're quite popular. Unfortunately not all apps can be launched as not all developers have added a URL scheme with their app. It is a very easy process, however some developers are unaware of the benefits and the process of adding a URL scheme so I just wanted to share.
In your app delegate add (Swift 3 implementation)
In your Project Settings (For visual see bottom or attached image)
Thanks!
My launcher for example
https://itunes.apple.com/us/app/gidjit-smart-launcher-with-widget/id1179176359?mt=8
Apple offers more information on URL Schemes here. There are also Universal Links, however that gets more complicated.
https://developer.apple.com/library....html#//apple_ref/doc/uid/TP40007072-CH6-SW10
I have a free app on the App Store called Gidjit - Smart Launcher. Basically it allows you to launch apps and actions based on your environment from it’s widget or the app itself. There are also similar Launcher Apps with varying features. They're quite popular. Unfortunately not all apps can be launched as not all developers have added a URL scheme with their app. It is a very easy process, however some developers are unaware of the benefits and the process of adding a URL scheme so I just wanted to share.
In your app delegate add (Swift 3 implementation)
Code:
func application(_ application: UIApplication, handleOpen url: URL) -> Bool {
return true
}
In your Project Settings (For visual see bottom or attached image)
- Select the “Info” tab and scroll down to “URL Types”.
- Press the “+” button
- Add an identifier in the box labeled “Identifier”. I like to do reverse url scheme - com.AppName.myurlscheme
- Add the scheme name to the text box “URL Schemes” in this case myurlscheme (myurlscheme can be anything of your choosing just make sure it is something not likely to already be used).
Thanks!
My launcher for example
https://itunes.apple.com/us/app/gidjit-smart-launcher-with-widget/id1179176359?mt=8
Apple offers more information on URL Schemes here. There are also Universal Links, however that gets more complicated.
https://developer.apple.com/library....html#//apple_ref/doc/uid/TP40007072-CH6-SW10