It might help you.
UIDeviceOrientation currentDeviceOrientation = [[UIDevice currentDevice] orientation];
문제
How can I find out the real iOS-Device orientation (not UIView orientation) even on a locked UIView?
해결책
It might help you.
UIDeviceOrientation currentDeviceOrientation = [[UIDevice currentDevice] orientation];