Hour 18. Sensing Orientation and Motion

What You’ll Learn in This Hour:

• What Core Motion is

• How to determine a device’s orientation

• How to measure tilt and acceleration

• How to measure rotation

The Nintendo Wii introduced motion sensing as an effective input technique for mainstream consumer electronics. Apple applied this technology with great success to the iPhone, iPod touch, and iPad. Apple devices are equipped with an accelerometer that provides measurements of the orientation, movement, and tilt of the device. With the accelerometer, a user can control applications by simply adjusting the physical orientation of the device and moving it in space. In addition, Apple has introduced a gyroscope to the iDevice lineup (available in ...

Get Sams Teach Yourself iOS 6 Application Development in 24 Hours, Fourth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.