Frage

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

War es hilfreich?

Lösung

It might help you.

UIDeviceOrientation currentDeviceOrientation = [[UIDevice currentDevice] orientation];
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top