I have a navigation driven app. I need that app to rotate. The UINavigationController is the root controller/view in the window. I know (and have experienced why) it is a no-no to subclass UINavigationController. I know all i have to do is insert:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
return YES;
}
into the UINavigationController and it will rotate fine.
So my question is: how do I enable rotation on the root view controller (UINavigationController) WITHOUT subclassing it?