In this little test app, I have a ModalViewController that pops up over View One when you press the + button. That pulls up a NavigationViewController with three ViewControllers. The first allows you to create the post, the second is another modal view that allows you to choose a category and the last allows you to preview and ‘Post’ it. At this point (in the createTopic method) the data is sent and I dismiss the modal view:
[self dismissModalViewControllerAnimated:YES];
At this time, all the madness begins. View One is now presented in landscape mode, though I have all but upright portrait disabled. Further, because they’re disabled, it won’t switch back to portrait. Where have I failed?
I’m not even sure which part of the code to post to you. Help?




“Disabling” upright portrait either in the app plist or in the summary tab doesn’t cut it. That’s merely a launch orientation. Call,
In every UIViewController to limit rotation to portrait only modes.