UITableView滚动到指定section row

2018-12-26  本文已影响9人  一个萝卜X个坑
NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:3];
indexPath=[NSIndexPath indexPathForRow:0 inSection:3];
[self.tableView scrollToRowAtIndexPath:indexPath atScrollPosition:UITableViewScrollPositionTop animated:YES];
上一篇 下一篇

猜你喜欢

热点阅读