Okay, so here\'s the situation:
I have an app in which I only want ONE specific view in a UINavigationController to have a landscape orientation. This view is a UIIm
Just override this UIViewController method to only return true for landscape like so and the iphone will be forced to rotate to that device orientation, since it has no other option.
- (BOOL)shouldAutorotateToInterfaceOrientation: (UIInterfaceOrientation)interfaceOrientation {
return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
}