Вопрос

I currently have an authentication view controller defined as the rootViewController when the app starts. When the user is authenticated, the authentication view controller changes the rootViewController of the main windows to a split view controller.

My problem is when I happen to be in landscape mode and that it switches views, the split view is first show in portrait mode and the rotates to appear on landscape mode. What should I do to make it rotate like in background before appearing.

Thanks for your help.

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

Решение

Found out what the problem was. This thread solved my problem

RootViewController animation transition, initial orientation is wrong

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top