-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash because unexpected nil #23
Comments
I can't reproduce the problem using the example app. Are there any additional steps I should take? |
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.
The linked PR fixes the probem. Any reason it hasn't been merged? Is the author gone? |
@ItsNotEasyBeingGreen could you please check my pull request? |
Expected behavior
When dismissing the view I expect to hide the view.
Actual behavior
The app crashed because an unexpected nil in this line:
Steps to reproduce the behavior
Everytime I want to dismiss the image with a gesture or with the X.
I hope you can help me fix this.
Thanks
The text was updated successfully, but these errors were encountered: