智能应用程序横幅是iOS 6中iOS设备的新增功能.它涉及简单添加元标记,当访问Mobile Safari时,会检查手机上是否存在应用程序,并显示访问者是否要启动或安装应用程序.
<meta name="apple-itunes-app"
content="app-id=myAppId, affiliate-data=myAffiliateData,
app-argument=myArgs" />
Run Code Online (Sandbox Code Playgroud)
Windows Store应用链接的工作方式类似:
<meta name="msApplication-ID" content="myAppId" />
<meta name="msApplication-PackageFamilyName"
content="myMicrosoftAppBuildPackageName" />
<meta name="msApplication-Arguments" content="myArgs" />
Run Code Online (Sandbox Code Playgroud)
Android Apps/Google Play是否有类似的约定?有机制传递参数?