-3

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

Philipp Li
  • 499
  • 6
  • 22

1 Answers1

1

It might help you.

UIDeviceOrientation currentDeviceOrientation = [[UIDevice currentDevice] orientation];
Freak
  • 6,786
  • 5
  • 36
  • 54
Dmitry Zhukov
  • 1,809
  • 2
  • 27
  • 35