title: How to rotate an image in iOS using gyroData?
body: <p>Using coreMotion, I calculated the gyroData. Now I want to rotate an image according to the iPhone orientation. Please tell me how can I rotate the image?</p>