可以看下 原作者 的文档 http://www.jianshu.com/p/dfb0fd1cb49e
界面要present 进去
-(BOOL)shouldAutorotate{
return NO;
}
//支持的方向方向
- (UIInterfaceOrientationMask)supportedInterfaceOrientations{
return UIInterfaceOrientationMaskLandscapeRight;
}
//一开始的方向 很重要
-(UIInterfaceOrientation)preferredInterfaceOrientationForPresentation{
return UIInterfaceOrientationLandscapeRight;
}