UIAccelerometerDelegate Protocol Reference
Available in iOS 2.0 and later.
UIAccelerometerDelegate protocol defines a single method for receiving acceleration-related data from the system. Implementation of this method is optional, but expected.
Responding to Acceleration Events
– accelerometer:didAccelerate:Deprecated in iOS 5.0