Skip to content
This repository was archived by the owner on Mar 26, 2021. It is now read-only.

Commit 69ded2d

Browse files
committed
Fix animation on iPad split screen
Fix nytimes#293
1 parent af8a6e6 commit 69ded2d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

NYTPhotoViewer/NYTPhotoTransitionAnimator.m

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ - (void)setupTransitionContainerHierarchyWithTransitionContext:(id <UIViewContro
5353

5454
toView.frame = [transitionContext finalFrameForViewController:self.toViewController];
5555

56+
[toView layoutIfNeeded];
57+
5658
if (self.toViewController.parentViewController) {
5759
[self.toViewController beginAppearanceTransition:YES animated:YES];
5860
}

0 commit comments

Comments
 (0)