Chapter    5

Motion Recipes

One of the more impressive features of iOS devices is the built-in motion sensor. With motion sensors, iOS developers can create absolutely amazing appsapplications we could only dream about back in early 2000. Nowadays we can just point our phones to the night sky and instantly learn the names of stars and constellations; we can play virtual marble labyrinth games that are so close to the real experience that it’s almost frightening. Motion sensors have truly enriched the field of app development.

Through the Core Motion framework you have easy access to the device’s accelerometer, gyroscope, and magnetometer. It is your job to employ these tools to enhance the user’s experience and create new cool features. The ...

Get iOS 6 Recipes: A Problem-Solution Approach now with O’Reilly online learning.

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