In my program I\'m moving things based on rotation, but I\'m not rotating the entire view. I\'m Using :
static UIDeviceOrientation previousOrientation = U
Depending on your circumstances, a simpler option may be the interfaceOrientation property of the UIViewController class. This is correct before a rotation.