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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.