有时候会用到 tableView滚动到
//显示最后一个CELL
NSIndexPath *lastRow = [NSIndexPath indexPathForRow:(msgCount - 1) inSection:0];
[table scrollToRowAtIndexPath:lastRow
atScrollPosition:UITableViewScrollPositionBottom
animated:YES];
有时候会用到 tableView滚动到
//显示最后一个CELL
NSIndexPath *lastRow = [NSIndexPath indexPathForRow:(msgCount - 1) inSection:0];
[table scrollToRowAtIndexPath:lastRow
atScrollPosition:UITableViewScrollPositionBottom
animated:YES];