Skip to content

Fixes view layout issue #57

wants to merge 1 commit into from

2 participants


I noticed that MGSplitViewController re-tiles its views after calling [UIViewController willAnimateRotationToInterfaceOrientation:duration:] on its children.

This seems to be incorrect behavior, because in the documentation for [UISplitViewController willAnimateRotationToInterfaceOrientation:duration:], it states:

By the time this method is called, the interfaceOrientation property is already set to the new orientation, and the bounds of the view have been changed. Thus, you can perform any additional layout required by your views in this method.

@conradev conradev Fixes layout during rotation
Fixes rotation so that the child view controllers are
notified of a change in rotation *after* MGSplitViewController
re-tiles its views, so that the child view controllers can
adjust accordingly.
ai81 commented Nov 26, 2012

seems this fix help with this: #76

@conradev conradev closed this Jan 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.