Group Group Group Group Group Group Group Group Group

Universal Links: Make the Connection | Ray Wenderlich


Learn how to connect your iOS app with your website using Universal Links, so users can tap a link and go directly to the corresponding content in your app!

This is a companion discussion topic for the original entry at


I’ve finished this tutorial and I think that I’ve found two issues here:

  1. When application(_:continue:restorationHandler:) is called, our components.path value comes with a “/” before the rest of it, something like “/example.html”. So the filtering never finds a “computer” match.
    This is easy to fix by updating the project JSON file like this: “arduino.html” -> “/arduino.html”.
  2. For some reason, the presentDetailViewController method is not working. It gets to the “pushViewController” line but does nothing.

Anyway, this sample app is handling those universal links and I’ve learned a lot with this tutorial. Thanks.


@owenb Can you please help with this when you get a chance? Thank you - much appreciated! :]


Hi luisquin,

Thanks for the post.
I looked into the pushViewController issue you mentioned. Are you sure it is hitting this code or getting exited in the guard let above it?


It seems this is because the navigationVC object has just been instatiated and is not actually being presented.

Try this to get the navigation controller that is being presented in this case.

    let detailVC = storyboard
      .instantiateViewController(withIdentifier: "DetailController")
        as? ComputerDetailController,
    let navigationVC = window?.rootViewController as? UINavigationController
  else { return }


@xpereta Thank you for sharing your solution - much appreciated! :]