html - 如何在我们的网站上使用 ios 的智能应用程序横幅

标签 html ios css iphone smartbanner

我在我们的网站上使用 ios 的智能应用程序横幅。我在我的 banner.html 页面中编写了以下代码,但是当我在 iphone 的 safari 浏览器中点击 banner.html 时,它没有显示任何类型的横幅。我是做错了什么或者我的代码有什么错误。

我的智能应用横幅网页代码。

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Math Ninja iPhone/iPod Touch Game | Making Addition, Subtraction, Multiplication, and Division Fun!</title>
<meta name="apple-itunes-app" content="app-id=370144476"/>
<link rel="stylesheet" type="text/css" href="reset.css"/>
<link rel="stylesheet" type="text/css" href="style.css"/>
</head> 

请帮帮我, 提前致谢

最佳答案

您的 iPhone 上运行的是哪个版本的 iOS?我将您的 HTML 代码放在 index.html 中并且它有效:

enter image description here

关于html - 如何在我们的网站上使用 ios 的智能应用程序横幅,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37203501/

相关文章:

css - 为什么绝对定位元素不忽略它的兄弟位置,出现在它之后?

javascript - jQuery - 使 DIV 既可拖动又可拖放

python - 如何获取 "subsoups"并连接/加入它们?

html - 具有固定纵横比动态子 div 的响应 div

html - 防止父 div 溢出时子 div 被剪裁 :auto (because of its dynamic content)

iphone - 字符串到 NSDate 然后返回到字符串

ios - arm64 iOS Swift Gstreamer 库不支持 rtspsrc (Xcode 10.1)

ios - Facebook SDK收集用户信息和好友

android - 如何使用 css 和 html android

javascript - 自定义 jQuery 验证规则无法正常工作