Every mobile developer worries about hardware compatibility. However, the main benefit of developing for Apple's iOS line is standardization among hardware. True, there are different evolutions of the devices, but there is only one vendor: Apple! With other mobile operating systems, you have to worry about OEM vendors and their unlimited variations of hardware configurations. Let's take a look under the hood of the more recent iOS devices.
We're going to be using both the iPhone and the iPad for our sample projects. However, whenever the code is completely portable between platforms, we'llbe coding for only the iPhone. Figure 2–1 illustrates the physical dimensionsof the iPhone 4.