Can we enable Universal Links and URI Scheme in same application

This post contains the answer of question, Is it possible to enable URI Scheme and Universal Links in the same app so that if an app is installed on an iPhone running iOS 7+ and on an iPhone running iOS 9+ the URL scheme and Universal Links will forward the user to the app?

YES!! We Can!!


I created a demo app called Universal Links with Development target support of iOS8+ (https://github.com/vineetchoudhary/iOS-Universal-Links). In which I support both URI Scheme for iOS8+ and Universal Links for iOS9.2+.

You can download the source code from github and test it yourself. Here the website link which support

Main Page - https://vineetchoudhary.github.io/iOS-Universal-Links/
Home Page - https://vineetchoudhary.github.io/iOS-Universal-Links/home
About Page - https://vineetchoudhary.github.io/iOS-Universal-Links/about

enter image description here


and URI Scheme for is universallinks://
enter image description here


Screenshot of iOS 9.2 and iOS 8.4

enter image description hereenter image description here


You've successfully subscribed to Developer Insider
Great! Next, complete checkout for full access to Developer Insider
Welcome back! You've successfully signed in
Success! Your account is fully activated, you now have access to all content.