我的应用网址方案存在问题,我无法弄清楚如何获取它:
代码:
<script language="javascript">
var timeout;
function open_appstore()
{
window.location='itunes.com/';;
}
function try_to_open_app()
{
timeout = setTimeout('open_appstore()', 300);
}
</script>
<a onClick="javascript:try_to_open_app();" href="yourappurl:">App name</a>