Vote count:
0
- I have 11 rows in a table
- Then I try to insert 2 more rows inside begin end/updates
- I indexPath.row 7 and 9
- After the inserts, rows after indexPath.row are wrong
After the insert, tableView calls cellForRowAtIndexPath for indexPath.row 10.
But I think the rows before the inserts were still there and were not reloaded or redrawn.
Then when I scroll, I returned the cells as I want but it just overlaps with already present rows in the view.
I did try to reload 10,11,12 after the inserts but did not help.
I also tried [tableView.reloadata]...did not help.
What needs to be done to get the rows refreshed/redrawn properly after the inserts.
asked 1 min ago
Rows after the inserted rows are displayed wrong / not getting redrawn
Aucun commentaire:
Enregistrer un commentaire