iOS 8.3 - Meta viewport with fixed width results in weird content scaling on orientation change

南笙酒味 提交于 2019-12-04 06:00:35

问题


After upgrading my iOS devices to iOS 8.3 I noticed some weird behavior with the meta viewport. If I set the viewport with fixed width(a number such as 640, other than device-width) and rotate my device while I am on a webpage, the whole content will get smaller and eventually the browser will crash.

<meta name="viewport" content="width=640, initial-scale=1.0,user-scalable=no, target-densitydpi=device-dpi">

Is there a way to fix this issue?

来源:https://stackoverflow.com/questions/29737908/ios-8-3-meta-viewport-with-fixed-width-results-in-weird-content-scaling-on-ori

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!