It might help you.
UIDeviceOrientation currentDeviceOrientation = [[UIDevice currentDevice] orientation];
Frage
How can I find out the real iOS-Device orientation (not UIView orientation) even on a locked UIView?
Lösung
It might help you.
UIDeviceOrientation currentDeviceOrientation = [[UIDevice currentDevice] orientation];