We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb32fb1 commit 0eb2ec6Copy full SHA for 0eb2ec6
Objective-C/TOCropViewController/Models/TOCropViewControllerTransitioning.m
@@ -53,7 +53,9 @@ - (void)animateTransition:(id <UIViewControllerContextTransitioning>)transitionC
53
if (self.isDismissing == NO) {
54
[containerView addSubview:cropViewController.view];
55
56
- //Force a relayout now that the view is in the view hierarchy (so things like the safe area insets are now valid)
+ //Force a relayout now that the view is in the view hierarchy (so things like the safe area insets are now valid)]
57
+ [cropViewController.view setNeedsLayout];
58
+ [cropViewController.view layoutIfNeeded];
59
[cropViewController viewDidLayoutSubviews];
60
}
61
else {
0 commit comments