美文网首页
UITableView滚动到指定section row

UITableView滚动到指定section row

作者: 一个萝卜X个坑 | 来源:发表于2018-12-26 14:49 被阅读9次
NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:3];
indexPath=[NSIndexPath indexPathForRow:0 inSection:3];
[self.tableView scrollToRowAtIndexPath:indexPath atScrollPosition:UITableViewScrollPositionTop animated:YES];

相关文章

网友评论

      本文标题:UITableView滚动到指定section row

      本文链接:https://www.haomeiwen.com/subject/biuhlqtx.html