Refresh the segments or rows of the tableView individually

// a refresh     
NSIndexSet *indexSet=[[NSIndexSet alloc]initWithIndex:2];     
[tableview reloadSections:indexSet withRowAnimation:UITableViewRowAnimationA utomatic];     
// refresh one row     
NSIndexPath *indexPath=[NSIndexPath indexPathForRow:3 inSection:0];     
[tableView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:indexPath,nil] withRowAnimation:UITableViewRowAnimationN one];  

Note: If there is an increase or deletion, do you need to change the paragraph height or row height.

Guess you like

Origin blog.csdn.net/lichuanliangios/article/details/46011567