Open tonyarnold opened 8 years ago
@tonyarnold I found out the root cause of this. It seems as though the gesture recognizers are getting added to the same collection view twice. This causes the shouldRecognizeSimultaneouslyWithGestureRecognizer
method to fail when comparing the scroll gesture to the duplicated reordering gestures.
My fix was to add a check that only adds the custom gestures once. https://github.com/winkapp/LXReorderableCollectionViewFlowLayout/pull/2/files
@adamcumiskey Thanks this fix worked for me too.
Thank you @adamcumiskey . Solved the recent problem that I have been having too.
Using
LXReorderableCollectionViewFlowLayout
with aUICollectionView
under iOS 9.0b (currently beta 5) causes scrolling of the collection view to be disabled. I've tried disabling the new iOS 9 rearrangement API like so:However this has no effect. I'll do some digging over the weekend, but given that I still need to support iOS 8.x clients, I can't afford to lose
LXReorderableCollectionViewFlowLayout
just yet.