tableView的局部刷新问题

解决办法

 //局部section刷新
    NSIndexSet * nd=[[NSIndexSet alloc]initWithIndex:1];//刷新第二个section
    [tview reloadSections:nd withRowAnimation:UITableViewRowAnimationAutomatic];

    //局部cell刷新
    NSIndexPath *te=[NSIndexPath indexPathForRow:2 inSection:0];//刷新第一个section的第二行
    [tableView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:te,nil] withRowAnimation:UITableViewRowAnimationMiddle];
原文地址:https://www.cnblogs.com/superbobo/p/5576775.html