Background Dimensions?

Discussion in 'iOS Programming' started by JavaWizKid, Jun 18, 2009.

  1. JavaWizKid macrumors 6502a

    Joined:
    Sep 18, 2008
    #1
    What are the dimensions for a background image on the iPhone in an app? There is a few different options since there can be a bar at the bottom etc? What are they?
     
  2. Jeremy1026 macrumors 68020

    Jeremy1026

    Joined:
    Nov 3, 2007
    #2
    480x320 for portrait without a status bar
    460x320 for portrait with a status bar
    320x480 for landscape without a status bar
    300x480 for landscape with a status bar
     
  3. JavaWizKid thread starter macrumors 6502a

    Joined:
    Sep 18, 2008
    #3
    Is the status bar the bar at the bottom or the bar at the top?
     
  4. Jeremy1026 macrumors 68020

    Jeremy1026

    Joined:
    Nov 3, 2007
    #4
    The status bar is the bar that displays the time, signal strength, carrier, battery info, etc. Looking at some of your posts around here, looks like you should invest in a good book.
     
  5. JavaWizKid thread starter macrumors 6502a

    Joined:
    Sep 18, 2008
    #5
    What about the bar you can have at the bottom?
     
  6. Jeremy1026 macrumors 68020

    Jeremy1026

    Joined:
    Nov 3, 2007
    #6
    Figure out what it's called and I'll give you its dimensions, then from there you can subtract that from the screen size to get the remaining space.
     
  7. JavaWizKid thread starter macrumors 6502a

    Joined:
    Sep 18, 2008
  8. Jeremy1026 macrumors 68020

    Jeremy1026

    Joined:
    Nov 3, 2007
    #8
    So what is it called? If you don't know how to call the bar in code, then you are getting way ahead of yourself.
     
  9. JavaWizKid thread starter macrumors 6502a

    Joined:
    Sep 18, 2008
  10. Jeremy1026 macrumors 68020

    Jeremy1026

    Joined:
    Nov 3, 2007
    #10
    UITabBars are 49px tall.
     

Share This Page