How can I find out the real iOS-Device orientation (not UIView orientation) even on a locked UIView?
Asked
Active
Viewed 97 times
1 Answers
1
It might help you.
UIDeviceOrientation currentDeviceOrientation = [[UIDevice currentDevice] orientation];

Freak
- 6,786
- 5
- 36
- 54

Dmitry Zhukov
- 1,809
- 2
- 27
- 35