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
Cells animate chaotically and content offset gets misplaced If user pans the view during the call of -finishInfiniteScroll. It seems like cells are being reused during beginUpdates and endUpdates animations and due to content offset changes, apply to wrong cells. I can reproduce it with self sizing cells only.
The quick fix is to forcefully cancel pan gesture recognizer before the call to pb_setScrollViewContentInset, however it's not optimal and has side effects.
I'm really sorry but may be you found a solution?
I't really important for my users. Thanks a lot!
And your method above has an other glitch effect )=
Sorry again but can I ask?
If table has a method to stop update? I have one table and user can change datasource (with [tableView reloadData]) when table is waiting a new data. In this moment app crash (something like that
Invalid update: invalid number of rows in section 0.
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of items in section 0. The number of items contained in an existing section after the update (30) must be equal to the number of items contained in that section before the update (20), plus or minus the number of items inserted or deleted from that section (0 inserted, 0 deleted) and plus or minus the number of items moved into or out of that section (0 moved in, 0 moved out).
For me it turned out better to do infinite scroll without any library, with using UICollectionViewDataSourcePrefetching.s better to do infinite scroll without any library, with using UICollectionViewDataSourcePrefetching.
Cells animate chaotically and content offset gets misplaced If user pans the view during the call of
-finishInfiniteScroll
. It seems like cells are being reused duringbeginUpdates
andendUpdates
animations and due to content offset changes, apply to wrong cells. I can reproduce it with self sizing cells only.The quick fix is to forcefully cancel pan gesture recognizer before the call to
pb_setScrollViewContentInset
, however it's not optimal and has side effects.The text was updated successfully, but these errors were encountered: