our app got rejected, becouse the app does not rotate in upside down orientation.
so we have an tabbar App, adding this code to all tabs…
shouldAutorotateToInterfaceOrientation
makes no sense, add this code to a Appdelegate doesn’t helps, what we do wrong?
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
return YES;
}
UITabbarcontroller is a subclass of UIViewcontroller. To solve you problem just subclass or add a category for you UITabbarcontroller implementing:
If you want to make the tabbar only rotate to portrait and upside down just use th following code instead