By Brandon Trebitowski
This article is taken from the book iPhone and iPad in Action. The authors discuss UIAccelerometer, a class that you can use to receive acceleration-related data.

Accessing the UIAccelerometer (PDF)