The Core Motion framework lets your application receive motion data from device hardware and process that data. This hardware includes an accelerometer and, on some device models, a gyroscope. Through the CMMotionManager
class you can start receiving accelerometer, gyroscope, and combined device-motion events at a regular interval or you can poll for them periodically.
Framework | /System/Library/Frameworks/CoreMotion.framework |
Header file directories | /System/Library/Frameworks/CoreMotion.framework/Headers |
Last updated: 2010-04-27