【问题标题】:Html: Open ios application by href linkHtml:通过 href 链接打开 ios 应用程序
【发布时间】:2018-09-01 13:08:19
【问题描述】:

我为android 使用下面的代码并且工作正常:

href='intent://name.com#Intent;scheme=http;package=com.name.app;S.POSITION=handle;end'

但是对于ios 我找不到href 解决方案

【问题讨论】:

    标签: android html swift android-intent href


    【解决方案1】:

    请参考下面的 ios 和 web 流程在 IOS 中实现。

    IOS ::在 Info.plist 中添加 URL Types 例如“SomeIdentification”。 (您可以添加您网站的主机名)

    WEB :: 当您在 safari 中点击“SomeIdentification://”时,您的应用现在将打开。如果您使用任何其他链接,则需要检测 ios 设备并触发 URL 的“SomeIdentification://”onclick。
    For more detail of ios you can refer

    【讨论】:

      猜你喜欢
      • 2021-09-12
      • 1970-01-01
      • 2023-02-23
      • 1970-01-01
      • 2016-01-31
      • 2023-03-24
      • 2022-10-24
      • 2015-09-17
      • 1970-01-01
      相关资源
      最近更新 更多