1 Reply Latest reply on May 23, 2013 12:37 AM by moccamaximum

    AIR for iOS: iPad and iPhone Dimensions?

    avtutorials Level 1

      Sorry if this has already been answered, but I couldn't find it in the forums here.


      To run on the iPad, I built a 1024x768 stage-dimensions app in Flash CS6 (my app also has graphics which are 768x1024 for portrait mode).


      I have this code:

      stage.scaleMode = StageScaleMode.NO_SCALE;

      stage.align = StageAlign.TOP_LEFT;


      I know the iPhone 4 is 960x640, and iPhone 5 is 1136x640. 


      My questions, since I don't have all these iPhones for testing:


      1) Do earlier iPhones run in even smaller resolutions?


      2) If I branch my app off to a section that also has 960x640 graphics, and if I do some device detection to direct to these graphics (when on an iPhone 4 or 5), will these 960x640 graphics still stretch to 1136x640 on the iPhone 5?  Or, will the iPhone 5 have a blank area for the extra 176 pixels?


      3) Are there any known ways to best-handle the pot-pourri of iPhone resolutions?


      Thanks for any direction on this.