tableView滚到最后一行

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];

    });

posted @ 2015-12-03 14:29  飘金  阅读(166)  评论(0编辑  收藏  举报