I have an issue where I have a view controller that redraws its contents on rotation. The problem is when I have modal view up and I rotate the device, the parent view doesn’t get the new bounds. How do I get the parent view to recognize the rotation?
Share
You have to check, and possibly update, the rotation in
- (void)viewWillAppear:(BOOL)animated. It would be super slow if all view controllers were sent rotation updates, e.g. it can be 10 or so if you stack modal view controllers.