UITableView 出现默认滚动到底部的方法(不闪动)
- (void)viewDidLoad {
[super viewDidLoad];
// 添加控件等操作
[self.customsTableView reloadData];
dispatch_async(dispatch_get_main_queue(),^{
if (self.customsTableView.contentSize.height >kScreenHeight) {
[self.customsTableView setContentOffset:CGPointMake(0, self.customsTableView.contentSize.height -self.customsTableView.bounds.size.height) animated:NO];
}
});
}