【发布时间】:2012-11-21 07:59:10
【问题描述】:
方向在 presentViewController 中不起作用。甚至正在使用 UINavigationController 的类别。调用了supportedInterfaceOrientations 方法,但没有更改。在基本视图控制器中,shouldAutorotate 方法返回 YES。哪里有下面的代码。
我正在使用此代码。
ViewControllerOne *viewOne = [[ViewControllerOne alloc]init];
UINavigationController *navCtrl = [[UINavigationController alloc] initWithRootViewController:viewOne];
navCtrl.modalPresentationStyle = UIModalPresentationFormSheet;
[self presentViewController:navCtrl animated:YES completion:nil];
请帮助我。提前谢谢...
【问题讨论】:
标签: ios6