Iphone Web App在状态栏下 [英] Iphone Web App is under Status Bar

查看:158
本文介绍了Iphone Web App在状态栏下的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对iPhone Web应用程序有疑问.问题是,当我将应用程序添加到主屏幕时,网站在状态栏下移动.

Hi I have a problem with iPhone web app. The problem is that the website is moves under the statusbar when I add the app to to the home screen.

例如,我的标题栏没有完全显示.

So for example my header block is not fully shown.

<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" />

这是显示问题的图像.

Here is the image showing the problem.

推荐答案

尝试更改:

<meta name="apple-mobile-web-app-status-bar-style" content="default" />

进入:

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

我遇到了同样的问题,将其设置为黑色半透明,然后将其设置为黑色,可以解决此问题.

I had the same problem where this was set to black-translucent and setting it to black removed the problem.

这篇关于Iphone Web App在状态栏下的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆