#indexPathForRow 到第几行 #inSection 到第几个section
NSIndexPath *lastIndex = [NSIndexPath
indexPathForRow:1
inSection:0];
[self.tableView
scrollToRowAtIndexPath:lastIndex
atScrollPosition:UITableViewScrollPositionBottom
animated:YES];
网友评论