Pregunta

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

¿Fue útil?

Solución

It might help you.

UIDeviceOrientation currentDeviceOrientation = [[UIDevice currentDevice] orientation];
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top