iPhone移动网络+删除Safari界面栏

标签 iphone xhtml mobile

有人知道如何删除 Safari iPhone 上顶部和底部的栏。我正在编写这个移动网页,但我无法摆脱导航栏。这可能吗?

谢谢。

最佳答案

<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />

<!-- this is the part responsible for hidding the bottom bar -->
<meta name="apple-mobile-web-app-capable" content="yes" />

<meta names="apple-mobile-web-app-status-bar-style" content="black-translucent" />

唯一的问题是,它仅在用户将链接保存到 iPhone 桌面后才起作用。

希望这能解决您的问题。

关于iPhone移动网络+删除Safari界面栏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3230147/

相关文章:

iphone - 检测何时摇动 iPhone

html - 为什么这个 CSS 设置没有应用到我的 table 上?

html - Paypal表格如何更改文字大小

xhtml - 为什么我收到 Sitemap.xml 的错误 “one or more unbound namespace prefixes”

ios - 针对 APP 或 IPA 文件运行 Appium 测试?

ios - 它是 pushViewController 的错误吗

ios - 每次我打开项目时,Xcode 8.2.1意外退出

iphone - 为 iphone HTTP API 添加自定义证书

javascript - 目标 ="_blank"在某些移动设备上不工作

javascript - Meteor "--mobile-settings"被服务器值覆盖了吗?