Update UITableViewCell without reload

后端 未结 4 1217
广开言路
广开言路 2020-12-18 11:56

So here\'s my situation:

I have a UITableView where each cell has some buttons.
In the cellForRowAtIndexPath I set the indexpath of the row so when the a button

4条回答
  •  春和景丽
    2020-12-18 12:55

    Think you need to use this...

    - (void)reloadRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation
    

    Apple reference!

提交回复
热议问题