2
有是一名的UINavigationController与RootViewController的(根)和secondViewController(作为一个孩子)。该RootViewController的应该能够旋转到任何方位(如预期那样的作品,我只是覆盖shouldAutorotateToInterfaceOrientation),但secondViewController应在肖像模式下工作只(在这里,我的shouldAutorotateToInterfaceOrientation设置为自转中的UINavigationController
interfaceOrientation == UIInterfaceOrientationPortrait
问题:从RootViewController的导航到secondViewController而在后l和风景,secondViewController不会将其用户界面切换回肖像。有没有正确的方法来做到这一点?