Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

9. Using Sensors > Hardware Support

Hardware Support

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


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial