Вопрос

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

Это было полезно?

Решение

It might help you.

UIDeviceOrientation currentDeviceOrientation = [[UIDevice currentDevice] orientation];
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top