UITableView继承了UIScrollView所以可以使用UIScrollView的方法,设置显示内容的偏移量
[self.tableView setContentOffset:CGPointMake(0, 0) animated:YES];
UITableView返回到顶部
猜你喜欢
转载自sdlqhjk.iteye.com/blog/1767551
今日推荐
周排行