【发布时间】:2015-10-01 09:34:04
【问题描述】:
我展示了另一个视图控制器:
- (void)showModalView
{
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
MySecViewController *mySecViewController = [storyboard instantiateViewControllerWithIdentifier:@"secController"];
mySecViewController.delegate = self;
[self presentViewController:mySecViewController animated:YES completion:nil];
}
然后在呈现的UIViewController中,方法viewWillTransitionToSize:withTransitionCoordinator:在iOS 8中被调用,但在iOS 9中没有被调用...
谢谢
【问题讨论】:
-
我也面临同样的问题。
标签: ios uiviewcontroller screen-orientation autorotate presentviewcontroller