做法1:建议用这个
// 最后参数值为YES,有滚动到顶部的过渡动画效果。
[self.listTableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0] atScrollPosition:UITableViewScrollPositionBottom animated:YES];
做法2:
// 最后参数值为YES,有滚动到顶部的过渡动画效果。
[self.listTableView setContentOffset:CGPointMake(0,0) animated:YES];
做法3:
// 最后参数值为YES,有滚动到顶部的过渡动画效果。
[self.listTableView scrollRectToVisible:CGRectMake(0, 0, 0.1, 0.1) animated:YES];