Hey guys,
my app is a tab bar - nav control combination of views. I have 3 tabs at the bottom of the screen and each tab leads to a different view. What I want to do is having just 2 out of 3 views rotating when the phone is put in landscape mode. But the following code in one of the views that is meant to rotate:
Code:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
// Return YES for supported orientations
return YES;
}
makes all the other views rotating, even the one I don't want to rotate. How do I selectively instead enable view rotation?
Thanks a lot.