Search code examples
iosswiftxcodeurldeep-linking

How to manage deep linking URL when app not install on my iphone?


I am trying to work with deep linking in my project, the big issue is when the app is install on my device and URL redirect on my device & app is open, but when app is not installed on my device , the URL was not redirect in safari browser.


Solution

  • Maybe you are confusing between deep link and universal link. URL Schemes Deep Linking does not allow to open Safari browser if the link is not available. Trying to use this method canOpenURL(_:). If it returns false, you can open another URL manually. Or just using Universal Link instead.