When toController is model , the auto layout breaks after animation finishes.
ijameelkhan opened this issue · comments
When toController is model , the auto layout breaks after animation finishes. To reproduce , set default animations as follows.
'id presentDismissAnimationController = [[RZZoomAlphaAnimationController alloc] init];
id pushPopAnimationController = [[RZZoomAlphaAnimationController alloc] init];
[[RZTransitionsManager shared] setDefaultPresentDismissAnimationController:presentDismissAnimationController];
[[RZTransitionsManager shared] setDefaultPushPopAnimationController:pushPopAnimationController];'
Now present the controller as follows
' [vc setTransitioningDelegate:[RZTransitionsManager shared]];
[self presentViewController:vc animated:YES completion:NULL];'
The vc layout doesnt get adjusted based on screen size.