Phonegap ‘meta name=viewport’ is ignored

Just a quick note: if you have any troubles with Phonegap after you used:

<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=0.5, maximum-scale=0.5" />

in your app (that is, you don’t see the page like it should, instead you see everything zoomed in), you may want to add this into your PhoneGap.plist:

EnableViewportScale : YES

That’s all. Enjoy!

Leave a comment!

You can insert code snippets using BBcode:
[js].[/js] [html].[/html] [php].[/php] [css].[/css]
You can also use some HTML tags:
<blockquote>.</blockquote> <code>.</code> <a href="">.</a> <strong>.</strong> <em>.</em>