iostbleView刷新后显示指定cell
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.01 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
if (arr.count > 0) {//数组为taleView数据源
//下面是实现展示第一个cell
NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:0];
[self.tbFirst scrollToRowAtIndexPath:indexPath atScrollPosition:UITableViewScrollPositionTop animated:YES];
}
});
以上方法必须是在网络请求之后并且tableView reloadData之后才可以