With all parts in place, you can now set your app up to handle Universal Links. In the previous sections of this chapter, a lot of work was done to handle user activities nicely. The setup you created for this will serve as a foundation for handling Universal Links.
Whenever an application is expected to open a Universal Link, the application(_:open:options:) method is called on AppDelegate. This method receives the URL it's expected to open. If the URL can't be opened, this method is expected to return false. If this method does manage to handle the URL, it should return true.
Any application that handles Universal Links must have the Associated Domains capability enabled in the Capabilities tab. To do ...