0

Is there a way to identify that the device has moved up or down relative to earth or from its previous position.

I just want to check if user has moved the device up or down

Abdul Samad
  • 5,748
  • 17
  • 56
  • 70
  • UIAccelerometer Reference: http://developer.apple.com/library/ios/#documentation/uikit/reference/UIAccelerometer_Class/Reference/UIAccelerometer.html – Mario Jul 27 '11 at 14:01

1 Answers1

0

Other than the accelerometer, I can't think of any way to do that... If you're trying to find relative elevation I think you're out of luck, but the accelerometer will track a vertical phone movement.

brandonbocklund
  • 595
  • 4
  • 11