Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

im confused with the iphone4 resolution.

im just trying to show a fullscreen 640 x 960 image in my iphone4 app but only half the image shows up (as if the screen's resolution was 480). Any clue what i am doing wrong? thanks

pages[0] = Titanium.UI.createWindow({width:"100%",height:"100%"});

var homescreen = Ti.UI.createView({
width: 640,
height: 960,
top: 0

sdk 4.2, tit sdk 1.4.33

— asked December 4th 2010 by sean oreilly
  • 4
  • @2x
  • iphone
  • resolution

1 Answer

  • Hi Sean

    Are you following this process, to set it up?


    — answered December 4th 2010 by Paul Dowsett
    1 Comment
    • thanks but im referring to a background image not the app icon. basically the iphone 4 is behaving as if its resolution is 320x640 (both the device and the simulator)

      — commented December 4th 2010 by sean oreilly
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.