iPhone OS Reference Library Apple Developer Connection spyglass button

Version: 2.1

Posted: 2009-09-11

Build Requirements: iPhone SDK 3.0

Runtime Requirements: iPhone OS 3.0

View Source Code:

Download Sample Code (“AccelerometerGraph.zip”, 40.2K)



Description

AccelerometerGraph sample application graphs the motion of the device. It demonstrates how to use the UIAccelerometer class and how to use Quartz2D and Core Animation to provide a high performance graph view. It also demonstrates a low-pass filter that you can use to isolate the effects of gravity, and a high-pass filter that you can use to remove the effects of gravity.

Document Revision History

Date Notes
2009-09-11Improve the accessibility of AccelerometerGraph through use of the iPhone Accessibility API.
2009-06-08Updated to implement significant architecture and performance improvements. Added a low-pass filter and adaptive filtering options.
2008-07-03First public release.
Did this document help you? Yes It's good, but... Not helpful...