Abstract
One of the coolest features of the iPhone and iPod Touch is the built-in accelerometer, the tiny device that lets the iPhone know how it’s being held and if it’s being moved. The iPhone OS uses the accelerometer to handle autorotation, and many games use it as a control mechanism. It can also be used to detect shakes and other sudden movement.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2009 Dave Mark and Jeff LaMarche
About this chapter
Cite this chapter
Mark, D., Lamarche, J. (2009). Whee! Accelerometer!. In: Beginning iPhone 3 Development. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-2460-0_15
Download citation
DOI: https://doi.org/10.1007/978-1-4302-2460-0_15
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-2459-4
Online ISBN: 978-1-4302-2460-0
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)