// 滚动到指定位置
[self.tableView reloadData];
NSIndexPath* indexPath = [NSIndexPath indexPathForRow:0 inSection:2];
[self.tableView scrollToRowAtIndexPath: indexPath atScrollPosition:UITableViewScrollPositionTop animated: YES];
// 滚动到指定位置
[self.tableView reloadData];
NSIndexPath* indexPath = [NSIndexPath indexPathForRow:0 inSection:2];
[self.tableView scrollToRowAtIndexPath: indexPath atScrollPosition:UITableViewScrollPositionTop animated: YES];
本文标题:tableview 滚动到指定位置
本文链接:https://www.haomeiwen.com/subject/jkuvjxtx.html
网友评论