iOS Safari 显示已安装的应用程序。这是如何运作的?元标记?
<p><p>您是否注意到,iOS Safari 中的某些网站会显示横幅,让用户知道应用已安装?这是如何运作的?这是元标记吗? </p>
<p> <img src="/image/afk8M.png" alt="Airbnb example showing a banner to open the app"/> </p>
<p>谢谢</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>您应该在网页的 <code><meta name="apple-itunes-app"content="app-id=myAppStoreID,affiliate-data=myAffiliateData, app-argument=myURL"></code>强>头</strong>。</p>
<p>请查看此链接了解更多信息:<a href="http://developer.apple.com/library/ios/#documentation/AppleApplications/Reference/SafariWebContent/PromotingAppswithAppBanners/PromotingAppswithAppBanners.html" rel="noreferrer noopener nofollow">http://developer.apple.com/library/ios/#documentation/AppleApplications/Reference/SafariWebContent/PromotingAppswithAppBanners/PromotingAppswithAppBanners.html</a> </p>
<p><strong>注意</strong>:它仅适用于 iOS6 或更高版本!</p></p>
<p style="font-size: 20px;">关于iOS Safari 显示已安装的应用程序。这是如何运作的?元标记?,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/13036393/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/13036393/
</a>
</p>
页:
[1]