Html: 通过 href link 打开 ios 应用程序
Html: Open ios application by href link
我将下面的代码用于 android
并且工作正常:
href='intent://name.com#Intent;scheme=http;package=com.name.app;S.POSITION=handle;end'
但是对于 ios
我找不到 href
解决方案
请参考下面的 ios 流程和网络以在 IOS 中实现此功能。
IOS ::在 Info.plist 中添加一个 URL 类型 例如 "SomeIdentification"。 (您可以添加您网站的主机名)
WEB :: 当您在 Safari 中点击 "SomeIdentification://" 时,您的应用程序现在将打开。如果您正在使用任何其他 link,那么您需要检测 ios devcie 并触发 "SomeIdentification://" onclick of URL.
For more detail of ios you can refer
我将下面的代码用于 android
并且工作正常:
href='intent://name.com#Intent;scheme=http;package=com.name.app;S.POSITION=handle;end'
但是对于 ios
我找不到 href
解决方案
请参考下面的 ios 流程和网络以在 IOS 中实现此功能。
IOS ::在 Info.plist 中添加一个 URL 类型 例如 "SomeIdentification"。 (您可以添加您网站的主机名)
WEB :: 当您在 Safari 中点击 "SomeIdentification://" 时,您的应用程序现在将打开。如果您正在使用任何其他 link,那么您需要检测 ios devcie 并触发 "SomeIdentification://" onclick of URL.
For more detail of ios you can refer