tableView滚到最后一行

时间:2020-12-17 06:04:54

dispatch_async(dispatch_get_main_queue(), ^{

[_tableview scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:self.totalCount>EMAIL_COUNT?EMAIL_COUNT-1:self.totalCount-1 inSection:0] atScrollPosition:UITableViewScrollPositionBottom animated:YES];

});