Note that there are some explanatory texts on larger screens.

plurals
  1. POScaling does not work with PhoneGap on iPad/iOS 5
    primarykey
    data
    text
    <p>I have a scaling problem in a PhoneGap app. My issue is very similar to <a href="https://stackoverflow.com/questions/7577478/phonegap-not-scaling-properly-between-ipad-and-iphone">this question</a>. I want to allow user scaling in my app and since it is all UIWebView it should work. I have put the following meta viewport tag on my local html files and on the remote site that PhoneGap opens after authentication:</p> <pre><code>&lt;meta name="viewport" content="width=device-width; user-scalable=yes; initial-scale=1; maximum-scale=5; minimum-scale=1" /&gt; </code></pre> <p>I have also edited the PhoneGap.plist and set EnableViewportScale to YES. Neither of these settings makes any difference at all. I simply cannot scale the pages when running in PhoneGap. Our users expect scaling in the app because they are already used to running it in the browser. The app displays graphic files, PDFS, etc and needs to allow scaling.</p> <p>I use jQuery-Mobile on the local login page, but once directed to the hosted app just has jquery and the varios</p> <p>Any ideas as to why PhoneGap is not allowing my app to scale with the standard pinch and zoom gesture?</p> <p>EDIT: Ok, bizarre behavior update. Now scaling works and I didn't change anything except add ChildBrowser functionality for one part of the app. Now the app can scale. I doubt ChildBrowser really has anything to do with it because I can scale without ever using the ChildBrowser plugin. What is going on? I still want the answer so that I know why it works since I'm just as likely to lose scaling again in a future update if I don't know what made this start working.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload