iOS9 universal links do not work from Safari but works from other apps

前端 未结 3 485
感情败类
感情败类 2021-01-12 09:47

I\'m currently implementing iOS9 universal links for a client.

After following apple doc and some good tutorials, I succeeded to make it working almost on the first

相关标签:
3条回答
  • 2021-01-12 09:57

    If a Universal Link succeeds in opening your app and then you click through to Safari (by tapping your site in the top right corner of the nav bar in app), then iOS stops opening the app when you visit that URL.

    Then in Safari, you can pull down to reveal a banner at the top of the page with "Open".

    0 讨论(0)
  • 2021-01-12 10:08

    Okay.

    St.derrick answer is very interresting, but one of his comment is even more:

    As I suspected, by tapping on the top right corner of the navigation bar "mysite.com", iOS stops opening the app when you visit that URL.

    To restore the initial behavior, iOS adds a header (initially hidden) on the webpage (mysite.com), with the "open app" option.

    Unfortunately, I didn't find any official documentation about this behavior, which can literally drive us crazy.

    0 讨论(0)
  • 2021-01-12 10:19

    To enable universal links again to open in app instead of safari we need to do the following thing.

    • Long press on Universal link in Mail or iMessage, then you will see options whether to open in safari or in App.
    0 讨论(0)
提交回复
热议问题