解决:
使用dispatch_async(dispatch_get_main_queue(), 方法解决大部分情况
如下:
NSIndexPath*indexPath = [NSIndexPath indexPathForRow:(self.datas.count-1) inSection:0];
dispatch_async(dispatch_get_main_queue(), ^{
[self.mTableView scrollToRowAtIndexPath:indexPath atScrollPosition: UITableViewScrollPositionBottom animated:YES];
});
网友评论