所以我去了一个我以编程方式创建的uiviewcontroller(带有它的默认视图)
TestViewController *aVC = [[MJImageCropViewController alloc] init];
[[self navigationController] pushViewController:aVC animated:YES];
在里面有这样的东西在 viewDidLoad
self.view.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
问题是,pushViewController 的视图高度保持 460 像素,但可见只有 416 像素(因为现有的 navigationController.
有没有办法让推送的视图控制器的 uiview 以正确的方式调整大小而不将框架显式设置为 416(因为旋转等)?