How can I programmatically determine if a URL is a Universal Link or just a regular web URL?
Detect if a link is universal using UIApplicationOpenURLOptionUniversalLinksOnly
Following is the solution:
[[UIApplication sharedApplication] openURL:url
options:@{UIApplicationOpenURLOptionUniversalLinksOnly: @YES}
completionHandler:^(BOOL success){
if(!success) {
// present in app web view, the app is not installed
}
}];