开发者

How to set fix zoom level or scale back in webview?

Zoom works without any pro开发者_C百科blem, but if I select any input field the webview zooms in automatically.

How do I can prevent this zoom behavior?

  • set fix zoom level?
  • scale back to previous zoom level?


Not sure about Android webkit, but this works on iOS webkit:

input[type='text'],textarea {font-size:1em;}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜