UITabview的刷新方式
1.
// 插入某些特定的行
[self.tableView insertRowsAtIndexPaths:@[
[NSIndexPath indexPathForRow:0 inSection:0],
[NSIndexPath indexPathForRow:1 inSection:0]
]withRowAnimation:UITableViewRowAnimationLeft];
2.
//删除某些特定的行
[self.tableView deleteRowsAtIndexPaths:@[
[NSIndexPath indexPathForRow:0 inSection:0],
[NSIndexPath indexPathForRow:1 inSection:0],
[NSIndexPath indexPathForRow:2 inSection:0]
]withRowAnimation:UITableViewRowAnimationRight];
3.
//刷新特定的行
[self.tableView reloadRowsAtIndexPaths:@[[NSIndexPath indexPathForRow:3 inSection:0]]withRowAnimation:UITableViewRowAnimationMiddle];