Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Unique among modern mobile platforms, Apple has gone to great lengths to ensure that your code will run on all of the current iOS-based devices. Yet despite this, there is still some variation in hardware between the various models (see Table 9-1).
Table 9-1. Hardware support in various iPhone, iPod touch, and iPad models
|
Hardware feature |
iPhone |
iPod touch |
iPad |
iPad 2 | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Original |
3G |
3GS |
4 |
4S |
1st Gen |
2nd Gen |
3rd Gen |
4th Gen |
WiFi |
3G |
WiFi |
3G | |
|
Cellular |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
|
WiFi |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
|
Bluetooth |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
|
Speaker |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
|
Audio In |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
|
Accelerometer |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
|
Magnetometer |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
|
Gyroscope | |||||||||||||