iOS开发中几种刷新数据的方法

1.刷新界面右侧边栏index标题

[_searchDC.searchResultsTableView reloadData];

2.重新加载数据后,刷新指定组别中所有的单元格

[_tableView reloadSections:(NSIndexSet *) withRowAnimation:(UITableViewRowAnimation)];

3.刷新指定多个单元格的数据

[_tableView reloadRowAtIndexPaths:(NSArray *) withRowAnimation:(UITbaleViewRowAnimation)];


你可能感兴趣的:(ios,数据,刷新)