有些网站看它html网页源码会有类似下面的一段代码在head中:
<meta name="apple-itunes-app" content="app-id=569706824" />一开始我也百思不得其解,查了下才知道
原文:http://segmentfault.com/q/1010000000171226
这个标签是告诉iphone的safari浏览器,这个网站对应的app是什么,然后在页面上面显示一个下载banner
参考:http://developer.apple.com/library/io...
Safari has a new Smart App Banner feature in iOS 6 and later that provides a standardized method of promoting apps on the App Store from a website, as shown in Figure 7-1 .
本文介绍了Safari浏览器在iOS 6及更高版本中引入的一个新特性——智能应用横幅,该特性允许开发者通过简单的HTML标签指定其网站对应的App Store应用ID,从而在网站上展示一个用于推广该应用的横幅。


288

被折叠的 条评论
为什么被折叠?



