我想从Phoengap应用程序将链接添加到我的其他App Store应用程序中。
我尝试在webview中打开此URL:
参考了这篇文章 http://bjango.com/articles/ituneslinks/
但对我无效。子浏览器窗口被打开,但屏幕上没有显示任何内容。
如何正确实现呢?
非常感谢您的帮助。
我想从Phoengap应用程序将链接添加到我的其他App Store应用程序中。
我尝试在webview中打开此URL:
参考了这篇文章 http://bjango.com/articles/ituneslinks/
但对我无效。子浏览器窗口被打开,但屏幕上没有显示任何内容。
如何正确实现呢?
非常感谢您的帮助。
这里是在PhoneGap中链接到App Store的正确方法:
<a href="itms-apps://itunes.apple.com/app/id<app apple id>">To App Store</a>
对于安卓系统:
<a href="market://details?id=<bundle id>">To Google Play Store</a>
itms-apps://itunes.com/apps/<yourappdevelopername>
将<yourappdevelopername>
替换为您在Apple注册的开发者名称。device.platform
例如,将返回以下值:
iOS