Website presentation options when a website / app supports universal links in iOS 9

In iOS 9, I can register my site (FooSite) to communicate with my application through Universal Link. Now let's say that a user in another application (BarApp) encounters an HTTP link to my application (FooApp).

  • Is there a way in BarApp to introduce FooSite instead of allowing iOS to allow a universal link and launch FooApp?

  • Are parameters changed between UIWebView, WKWebView and Safari View Controller?

+6
source share
1 answer

To answer your first question, BarApp should not. I did not try to prevent this, but I do not see how, if you do not confuse the URI, BarApp can run FooSite, not FooApp.

To answer your second question, the SFSafariViewController is extremely limited in that the developer is allowed access. You can set the start URL, find out when the original URL is loaded, and find out when the user clicked the quit button. It. Do not check the current URL, do not interfere with requests, etc.

+1
source

All Articles