-
强制让文档的宽度与设备的宽度保持1:1,并且文档最大的宽度比例是1.0,且不允许用户点击屏幕放大浏览
1
|
<
meta
name
=
"viewport"
content
=
"width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no"
/>
|
-
WebApp全屏模式 隐藏地址栏。
1
|
<
meta
name
=
"apple-mobile-web-app-capable"
content
=
"yes"
/>
|
-
禁止百度转码显示。
1
|
<
meta
http-equiv
=
"Cache-Control"
content
=
"no-siteapp"
>
|
-
制定iphone中safari顶端的状态条的样式(default:白色,black:黑色,black-translucent:半透明)
1
|
<
meta
name
=
"apple-mobile-web-app-status-bar-style"
content
=
"black-translucent"
>
|
-
添加到IOS主屏后的标题。
1
|
<
meta
name
=
"apple-mobile-web-app-title"
content
=
"标题名称"
>
|