How can I find out the real iOS-Device orientation (not UIView orientation) even on a locked UIView?
Asked
Active
Viewed 93 times
1 Answers
1
It might help you.
UIDeviceOrientation currentDeviceOrientation = [[UIDevice currentDevice] orientation];
Freak
- 6,721
- 5
- 35
- 51
Dmitry Zhukov
- 1,811
- 2
- 28
- 35