Chapter 7. Devices and Auto Layout
In this chapter, you will learn how to design an app with an interface for multiple devices. You will be introduced to all of Apple’s devices and device sizes. This chapter will give you a foundation in app design so that you can start designing the user interface for your own apps.
Screen Sizes
iOS runs on many different device sizes and formats, including iPhone, iPod Touch, iPad, and iPad Mini. Table 7-1 contains all of these devices and their size in pixels.
Device | Height (px) | Width (px) |
iPhone | 480 | 320 |
iPhone 4 (Retina) | 960 | 640 |
iPhone 5 (Retina) | 1136 | 640 |
iPhone 6 (Retina) | 1334 | 750 |
iPhone 6 Plus (Retina HD) | 1920 | 1080 |
iPad | 1024 | 768 |
iPad w/ Retina | 2048 | 1536 |
iPad Mini | 1024 | 768 |
iPad Mini w/ Retina | 2048 | 1536 |
Retina Displays
Pixels represent the drawable units on a display, just like the boxes on a sheet of graph paper. As devices have evolved, more and more pixels have been added. This creates a more dense area of pixels, providing more detail for each square inch of the device. This pixel-per-inch (PPI) is the standard for measuring the density of a display. When Steve Jobs announced the iPhone 4, he claimed the human eye could not notice the difference above a 300 PPI display. The iPhone 4 boasted a 326 PPI, and the term Retina has been used to describe any PPI over 300. The iPhone 6 Plus boasts a 401 PPI Retina HD display.
To help manage the Retina and Retina HD images for your application, Apple has provided some filenaming keywords:
- Image.png
- Standard-sized ...
Get Introducing iOS 8 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.