hai , i use accelerometer to rotate uiimageview through device orientation like UIInterfaceOrientationLandscapeRight,etc. if i dont use device orientation,(if i put iphone
In this code sample provided by Apple they use the accelerometer to adjust the orientation of an image in the center of the screen. Hopefully this sample code will help you find what you need. (You will need access to the Apple developer site to download this code sample)