I have one last problem with an app I just completed. On the main menu screen I support only 1 orientation and on all screens after that I support the usual 3 orientations.
The problem is that, say I am in the second screen and I hit back while I am in landscape mode, the main menu screen ends up in landscape mode as well despite the fact that I return NO on that one method. Once the menu screen is in landscape mode, I can't make it change back to its original orientation. The buttons look scrambled and obviously messy. The only solution is to go back to a 2nd screen, change the orientation there and then hit back. Is there any code I can put to make sure the orientation goes back to default when I go back to the menu screen? By the way, the problem is on both simulator and actual device when testing.
Thanks in advance