- (void)scrollsToBottomAnimated:(BOOL)animated { CGFloat offset = self.tableView.contentSize.height - self.tableView.bounds.size.height; if (offset > 0) { [self.tableView setContentOffset:CGPointMake(0, offset) animated:animated]; } }
- (void)scrollsToBottomAnimated:(BOOL)animated { CGFloat offset = self.tableView.contentSize.height - self.tableView.bounds.size.height; if (offset > 0) { [self.tableView setContentOffset:CGPointMake(0, offset) animated:animated]; } }