屏幕翻转如何实现

如题,求教,整个项目都是竖屏的,只有一个界面是横屏,如何实现

我记得在视图控制器里面加这个方法就可以了

  • (NSUInteger)supportedInterfaceOrientations{
    return UIInterfaceOrientationMaskAll;
    }