Question

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

Était-ce utile?

La solution

It might help you.

UIDeviceOrientation currentDeviceOrientation = [[UIDevice currentDevice] orientation];
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top