Pergunta

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

Foi útil?

Solução

It might help you.

UIDeviceOrientation currentDeviceOrientation = [[UIDevice currentDevice] orientation];
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top