views:

49

answers:

0

Hi, i've a problem with a modal view rotation. I create a main view in portrait mode, then i create a modal view. Everything works fine: i can rotate the modal view and all orientation are supported. If i create the main view in portrait mode then rotate in landscape and after that i create my modal view... the modal is in portrait mode and not in landscape as it should be.

Both shouldAutorotateToInterfaceOrientation in main view and modal view return YES.

Any ideas?