JB Acc App

From CSclasswiki
Jump to: navigation, search

Device axes.png

UIAccelerator class

Gotchas

  • Instances of UIAccelerometer should never be created, they should only be acquired by getting the system's shared accelerometer object:
UIAccelerometer *accelerometer = [UIAccelerometer sharedAccelerometer];

Sample AccelerometerController Class