私は別のものからのビューコントローラを提示する提示されたときのiOS 9に呼び出されていない:「viewWillTransitionToSize:」ビューコントローラはモーダル
- (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
で呼び出されないがあなたがviewWillTransitionToSize:withTransitionCoordinator:
をオーバーライドする場合iOS 9
に...
おかげで現在のビューコントローラで
私も同じ問題に直面しています。 – iChirag