What You’ll Learn in This Hour
• How to determine the device’s orientation
• How to measure tilt
• How to measure movement
The Nintendo Wii introduced motion sensing as an effective input technique for main-stream consumer electronics. Apple applied this technology to great success with the iPhone and iPod Touch. Apple’s devices are equipped with an accelerometer that can be used to determine the orientation, movement, and tilt of the device. With the iPhone’s accelerometer, a user can control applications by simply adjusting the physical orientation of the device and moving it in space.
This innovative and natural input mechanism is exposed to third-party applications in the iPhone ...