NSIndexPath *scrollIndexPath = [NSIndexPath indexPathForRow:10 inSection:0];
atScrollPosition:UITableViewScrollPositionTop animated:YES]; |
让UITableView自动滑动(定位)到某一行cell
最新推荐文章于 2023-06-25 15:06:49 发布
NSIndexPath *scrollIndexPath = [NSIndexPath indexPathForRow:10 inSection:0];
atScrollPosition:UITableViewScrollPositionTop animated:YES]; |