UITableView 出现默认滚动到底部的方法(不闪动)

- (void)viewDidLoad {async

    [super viewDidLoad];spa

// 添加控件等操做get

    [self.customsTableView reloadData];queue

    dispatch_async(dispatch_get_main_queue(),^{im

        if (self.customsTableView.contentSize.height >kScreenHeight) {animate

            [self.customsTableView setContentOffset:CGPointMake(0, self.customsTableView.contentSize.height -self.customsTableView.bounds.size.height) animated:NO];di

        }view

    });vi

}co

相关文章
相关标签/搜索