标签:
本文转载至 http://mrjeye.iteye.com/blog/1278521
- (void)scrollTableToFoot:(BOOL)animated
{
NSInteger s = [self.tableView numberOfSections];
if (s<1) return;
NSInteger r = [self.tableView numberOfRowsInSection:s-1];
if (r<1) return;
NSIndexPath *ip = [NSIndexPath indexPathForRow:r-1 inSection:s-1];
[self.tableView scrollToRowAtIndexPath:ip atScrollPosition:UITableViewScrollPositionBottom animated:animated];
}
############
标签:
原文地址:http://www.cnblogs.com/Camier-myNiuer/p/4206622.html