iOS tableView的Cell的使用方式
Cell偏移到指定位置
[_tableview setContentOffset:CGPointMake(0, 0) animated:YES];
根据情况修改Y值就行
在某一行插入一个Cell
NSIndexPath *indexP = [NSIndexPath indexPathForRow:1 inSection:1];
[_tableview insertRowsAtIndexPaths:@[indexP] withRowAnimation:UITableViewRowAnimationLeft];
设置Cell的某行默认选中
NSIndexPath *indexs = [NSIndexPath indexPathForRow:1 inSection:1];
[self.tableview selectRowAtIndexPath:indexs animated:YES scrollPosition:UITableViewScrollPositionBottom];