iPhone Development 101

iPhone 101

Code Tips



The launch image (or default image) is displayed while your app launches. (If no default image is provided, then a black screen is displayed.)

To include a launch image in your app, add images of the appropriate size for the device. In iOS 8 and later, you can create a XIB or storyboard file instead of a static launch image. The launch XIB or storyboard is required to support iPhone 6 sized apps. See the Apple Documentation for more info.

Screen sizes (in pixels) of the iPhone 4S and iPhone 5
iPhone 4S iPhone 5 iPhone 6 iPhone 6 Plus
Retina 640 x 960 (@2x) 640 x 1136 (@2x) 750 x 1334 (@2x) portrait
1334 x 750 (@2x) landscape
1242 x 2208 (@3x) portrait
2208 x 1242 (@3x) landscape
Screen sizes (in pixels) iPad
iPad - Portrait iPad - Landscape
Non-retina 768 x 1004 pixels
1024 x 748 pixels
Retina 1536 x 2008 pixels
2048 x 1496 pixels

iPad launch images do not include the status bar area. You can provide different launch images for each orientation (Portrait, PortraitUpsideDown, LandscapeLeft, and LandscapeRight); consult the Apple documentation for details.

Additional References