我在纵向模式下有十多个ViewController,但无论设备的方向如何,我都需要在横向模式下强制一个。 最佳答案 解决方法如下:1)将LandscapeViewController嵌入子类NavigationController中,并使用模态转场从PortraitViewController连接它。2)子类UINavigationControllerLandscapeNavigationController.m-(BOOL)shouldAutorotate{returnNO;}-(NSUInteger)supportedInter