You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry for the late response. I use a table view and I believe that the cell gets removed from stack but the cell was the superview of the image view. So the parent view cannot be found anymore and so the nil appears.
I'm having the same problem with a collection view, where the imageview is nested within a container whose superview is always nil during this check and fails.
func animateTransition(using transitionContext: UIViewControllerContextTransitioning) {
let containerView = transitionContext.containerView
let toView = transitionContext.view(forKey: UITransitionContextViewKey.to)!
let fromParentView = fromImageView.superview!
The linked PR fixes the probem. Any reason it hasn't been merged? Is the author gone?
Activity
LcTwisk commentedon May 3, 2018
I can't reproduce the problem using the example app. Are there any additional steps I should take?
alexsteinerde commentedon Jun 10, 2018
Sorry for the late response. I use a table view and I believe that the cell gets removed from stack but the cell was the superview of the image view. So the parent view cannot be found anymore and so the nil appears.
damouse commentedon Feb 15, 2019
I'm having the same problem with a collection view, where the imageview is nested within a container whose superview is always nil during this check and fails.
The linked PR fixes the probem. Any reason it hasn't been merged? Is the author gone?
alexsteinerde commentedon Mar 8, 2019
@ItsNotEasyBeingGreen could you please check my pull request?