In Chapter 7 I talked about interacting with GPS and Google Maps. But did you know in addition to GPS you can interact with the Compass, Gyroscope, and the Accelerometer on your iOS device?
What about using your web app to interact with twitter or send a text message?
This chapter tells you how to do this. Although you can't interact with your camera via Mobile Safari, I show you how to do that with a native app in Chapter 15.
The orientation API allows you to interact with the Compass, Gyroscope, and Accelerometer on your iOS device through Mobile Safari. This makes it possible to interact with the world around you relative to the direction your device is facing and how it's moving ...