Rotate view iPhone tabbar app
问题 I have an app with a mainwindow which contains a tabbar controller and a number of different views. I want the whole thing to be able to rotate in each direction, however doing - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { return YES; } didn't help, while that did work in other apps. 回答1: The UITabBarController requires that you enable rotation on all view controllers it manages. So each view controller should return YES for that method for the