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
Use this for the orientation of the UI if you need to determine what way are you pointing.
Not 100% sure this is right but going off the top of my head:
[[[UIApplication sharedApplication] statusBar] orientation]