Irregular animations from UITableView's deleteRowsAtIndexPaths:withRowAnimation:

后端 未结 3 1271

Summary: In editing mode, I\'m deleting rows in a table view using a custom editing control, rather than the default red minus sign and delete confirmation butt

相关标签:
3条回答
  • 2021-02-08 04:26

    Try adding [tableView beginUpdates]; and [tableView endUpdates];

    0 讨论(0)
  • 2021-02-08 04:36

    Try calling [self.listOfItems removeObjectsAtIndexes:self.indexSetOfTickedRows]; at the end of the function instead of at the beginning.

    0 讨论(0)
  • 2021-02-08 04:42

    Maybe setting the alpha on the cell works as suggested here. Not sure though. problems with animation when deleting the last row of a TableView in ios7

    0 讨论(0)
提交回复
热议问题