Set final frame in transition

This commit is contained in:
Justin Mazzocchi 2021-03-04 16:53:49 -08:00
parent 97564113c6
commit f30f516482
No known key found for this signature in database
GPG Key ID: E223E6937AAFB01C
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ private extension ZoomAnimator {
else { return }
toVC.view.alpha = 0
toVC.view.frame = transitionContext.finalFrame(for: toVC)
toReferenceView.isHidden = true
transitionContext.containerView.addSubview(toVC.view)