ios UITableview refresh a cell or section

//一个section刷新   
NSIndexSet *indexSet=[[NSIndexSet alloc]initWithIndex:2];   
[tableview reloadSections:indexSet withRowAnimation:UITableViewRowAnimationAutomatic];   
//一个cell刷新   
NSIndexPath *indexPath=[NSIndexPath indexPathForRow:3 inSection:0];   
[tableView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:indexPath,nil] withRowAnimation:UITableViewRowAnimationNone]; 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326848374&siteId=291194637