Home  >  Q&A  >  body text

html5 - ios9,Safari打开未安装app的协议,如何不显示提示

用web打开自己app的协议,app未安装时跳转到appstore
在ios9中打开app时强制提示“Safari打不开该网页,因为网址无效”
想问有没有什么方案,既能在app已安装时打开app,又能在app未安装时跳过上面的提示直接setTimeout到appstore

怪我咯怪我咯2743 days ago1127

reply all(3)I'll reply

  • PHP中文网

    PHP中文网2017-04-17 12:04:04

    Go to www.lit.mn and use their technology to generate a link that jumps to the APP first and then to the APPStore if it fails. Just use this link

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-17 12:04:04

    The protocol of his APP mentioned by the questioner should refer to Custom Url Scheme (hereinafter referred to as scheme). Scheme works normally under iOS7 and 8, but when upgrading to iOS9 or above, if an APP is not installed In this case, when you try to invoke the APP through the APP's predefined scheme, there will be an error message as described in the title. There is currently no way to get rid of this message.

    But, but, but:

    iOS9 provides a safer way to invoke the APP solution through a browser or other web container, which is universal link. This is also Apple’s official deep link (deeplink) implementation solution since iOS9, but universal link The configuration and implementation of link are much more complicated. A detailed introduction to Universal Link can be found in Apple’s official development documents, or you can read this article: http://www.magicwindow.cn/doc...

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 12:04:04

    Is it solved? I can't figure it out either. Have you found a solution? Big Brother

    reply
    0
  • Cancelreply