现在,我在uinavigationcontroller中使用uiviewcontroller,我不修复它的界面肖像,如果只是uiviewcontroller这么容易用代码
- (BOOL)shouldAutorotate
{
return YES;
}
- (NSUInteger)supportedInterfaceOrientations
{
return (UIInterfaceOrientationMaskPortrait);
}
它工作正常,但UINavigationController里面的UIViewController,我不知道。怎么办?