With all parts in place you can now adapt your app to Universal Links. In the previous chapter, we did a lot of work to handle continuing user activities. The implementation that is shown uses the
application(_:continue:restorationHandler:) method to inspect and dissect user activities and it serves as a handoff point for us to call other methods from. This setup now becomes very beneficial because we could use a similar setup to handle Universal Links.
Whenever our application is expected to open a Universal Link, the
application(_:open:options:) method is called on the
AppDelegate. This method receives the URL it's expected to open. If we're not able to open the URL for whatever reason, this method is expected ...