Chapter 2. Accessing the Other Built-in Sensors
Writing our first GUI-based program to display sensor data from the iPhone and iPad in Chapter 1 was a bit involved. After all, you were learning a new programming environment as well as learning about the sensors. With that basic knowledge (pardon the pun), it’s time to quickly expand what we can do. Among other things, we need to finish our tricorder!
Starting with the iPhone 4, all iPhones include a three-axis gyroscope. You might think a gyroscope is unnecessary, since ...