Set final frame in transition
This commit is contained in:
parent
97564113c6
commit
f30f516482
|
@ -45,6 +45,7 @@ private extension ZoomAnimator {
|
||||||
else { return }
|
else { return }
|
||||||
|
|
||||||
toVC.view.alpha = 0
|
toVC.view.alpha = 0
|
||||||
|
toVC.view.frame = transitionContext.finalFrame(for: toVC)
|
||||||
toReferenceView.isHidden = true
|
toReferenceView.isHidden = true
|
||||||
transitionContext.containerView.addSubview(toVC.view)
|
transitionContext.containerView.addSubview(toVC.view)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue