Question

How can I find out the real iOS-Device orientation (not UIView orientation) even on a locked UIView?

Was it helpful?

Solution

It might help you.

UIDeviceOrientation currentDeviceOrientation = [[UIDevice currentDevice] orientation];
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top