-1

我正在为移动设备创建一个网络应用程序,但我在 iphone 中的页脚工具栏有问题,我只想隐藏或删除它,但我尝试没有结果。

我正在阅读苹果支持使用一些这样的元标记:

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

但是工具栏总是出现......

有没有办法隐藏它并制作一个“看起来像”本机应用程序?

4

2 回答 2

1

You have to add your site/web app in device home screen. The metatags provided from Apple works only if you have a link from home screen.

于 2012-01-05T22:51:11.923 回答
0

尝试

#menu
{
    text-align:center;
    margin-top: 20px;
    height:100px;
    background-color:#000;
    width:100%;
    position:fixed;
    bottom:0;
} 

然后在你的部门调用它!如果它是一个网络应用程序。

于 2011-12-08T00:35:48.407 回答