Mobile computer devices like the iPhone and iPad essentially put a PC in your pocket, letting you use a computer wherever you happen to be. However, unlike a desktop or even a laptop PC, mobile computers can track movement and orientation. This can come in handy for tracking the user’s arm movements in a game or measure angles in objects around you.
To track motion and orientation, every iOS device comes with a built-in accelerometer that can detect movement. In addition to the accelerometer, the iOS ...