Phonegap iFrame/page scaling

安稳与你 提交于 2019-12-01 13:50:53

Finally found the answer. Someone posted it on the Phonegap Google group. Here's their response:

Try setting the "EnableViewPortScale" setting to true: http://docs.phonegap.com/en/2.4.0/guide_project-settings_ios_index.md.html#Project%20Settings%20for%20iOS

So I added the following to my config.xml file and it's now scaling like I want it to. Only caveat is that you have to go lower than normal on the viewport with Phonegap to achieve the same effect.

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