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];