Use accelerometer

Solutions Collect From Internet About “Use accelerometer”

The z-direction points towards you, so to say. Try accessing the layer of the view. It should have a z-parameter.

here is the accelerometer example code …

http://www.devx.com/wireless/Article/44799/1954

There is also SO post

How can I rotate an image in response to the iPhone's accelerometer?