可以看到bootstrap4中的基本模板中的meta标签变成这个样子了
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
为了兼容ios9,也没查什么文档,就别的博主都是这样写的
Viewport meta tags using “width=device-width” cause the page to scale down to fit content that overflows the viewport bounds. You can override this behavior by adding “shrink-to-fit=no” to your meta tag as shown below. The added value will prevent the page from scaling to fit the viewport.
禁止手机端用户缩放,使应用看起来更像原生应用
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no,user-scalable=no">
该标签可以让部分国产浏览器采用高速模式渲染页面
<meta name="renderer" content="webkit">