删除行:
[self.selectTableView beginUpdates];
[self.selectTableView deleteRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationAutomatic];
[self.selectTableView endUpdates];
增加行:
[self.selectTableView beginUpdates];
NSArray *arrInsertRows = [NSArray arrayWithObject:[NSIndexPath indexPathForRow:_titles.count - 1 inSection:0]];
[self.selectTableView insertRowsAtIndexPaths:arrInsertRows withRowAnimation:UITableViewRowAnimationBottom];
[self.selectTableView endUpdates];