Skip to content
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

pinch again during animation #17

Closed
adriantofan opened this issue May 7, 2015 · 2 comments
Closed

pinch again during animation #17

adriantofan opened this issue May 7, 2015 · 2 comments

Comments

@adriantofan
Copy link
Contributor

Hello guys,

First of all thank you for this awesome library !

I have a crash in my app made after your pinch example. Basically if I pinch and let, there is a animation that continues until it stabilizes. If I pinch again during this animation I get an exception

2015-05-07 17:46:49.804 Tradee[4684:1227320] *** Assertion failure in -[UICollectionView _finishInteractiveTransitionShouldFinish:finalAnimation:], /SourceCache/UIKit/UIKit-3347.44/UICollectionView.m:2897
2015-05-07 17:47:03.124 Tradee[4684:1227320] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'the collection was not prepared for an interactive transition. see startInteractiveTransitionToCollectionViewLayout:completion:'

Any ideas on how to fix this ? Or maybe point me in the right direction ?

Thank you,
Adrian

@adriantofan
Copy link
Contributor Author

Hello ,

I've disabled the pinch during the animation and reenalbled-it inside the competition block. Seems to fix the issue. Please let me know if you wish me to fix the demo.

Adrian

@wtmoose
Copy link
Member

wtmoose commented May 8, 2015

Thanks for letting me know about this. A fix would be great if its not too much trouble.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants