删除UItableView的多余分割线
self.sceneTableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectZero];
恢复cell的点击后的效果
[tableView deselectRowAtIndexPath:indexPath animated:YES];
取消点击效果 可以根据indexPath指定cell
UITableViewCell* cell = [tableView cellForRowAtIndexPath:indexPath]; [cell setSelectionStyle:UITableViewCellSelectionStyleNone];
一个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];