【发布时间】: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
我为android 使用下面的代码并且工作正常:
href='intent://name.com#Intent;scheme=http;package=com.name.app;S.POSITION=handle;end'
但是对于ios 我找不到href 解决方案
【问题讨论】:
标签: android html swift android-intent href
请参考下面的 ios 和 web 流程在 IOS 中实现。
IOS ::在 Info.plist 中添加 URL Types 例如“SomeIdentification”。 (您可以添加您网站的主机名)
WEB :: 当您在 safari 中点击“SomeIdentification://”时,您的应用现在将打开。如果您使用任何其他链接,则需要检测 ios 设备并触发 URL 的“SomeIdentification://”onclick。
For more detail of ios you can refer
【讨论】: