iOS视口问题:加载缩放

时间:2015-12-07 13:42:49

标签: ios iphone zoom viewport

我需要将视口设置为490px,不可缩放

<meta name="viewport" content="width=490, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">

iphone处于纵向模式时,页面加载略微缩放。双击可将其缩小至适当的490像素。为什么会这样?

1 个答案:

答案 0 :(得分:0)

You should use something like this:

<meta name="viewport" content="width=490, target-densitydpi=device-dpi, user-scalable=1">