I have a UITableView with cells that have UIImages as the main content. The table view is paginated, so when I approach the end of the UITableView, I make a new API request and insert new cells (infinite scroll).
The problem is that when the data from the API comes in and I add it to the table view, the scroll stops completely.
I tried with
[tableview reloadData]
and
[tableview beginUpdates] [tableview insertRows...] [tableview endUpdates]
But the scroll animation stops completely in both cases.
6rod9 source share