如果是想转屏幕到landscape模式的话在appDelegate的applicationDidFinishLaunching方法里加入:
[[UIApplication sharedApplication] setStatusBarOrientation:UIInterfaceOrientationLandscapeRight];
再把相应的UIViewController的shouldAutorotateToInterfaceOrientation方法返回值改为UIInterfaceOrientationIsLandscape(interfaceOrientation)就可以了。