O'Reilly logo

Sams Teach Yourself iOS 6 Application Development in 24 Hours, Fourth Edition by John Ray

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required