-3

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

Philipp Li
  • 367
  • 4
  • 19

1 Answers1

1

It might help you.

UIDeviceOrientation currentDeviceOrientation = [[UIDevice currentDevice] orientation];
Freak
  • 6,721
  • 5
  • 35
  • 51
Dmitry Zhukov
  • 1,811
  • 2
  • 28
  • 35