33.让UITableView自动滑动(定位)到某一行cell

2020-11-22  本文已影响0人  bytebytebyte
NSIndexPath *indexPath = [NSIndexPath indexPathWithIndex:((CircleAnnotationView *)view).type];


[self.av.hotTableView scrollToRowAtIndexPath:indexPath atScrollPosition:(UITableViewScrollPositionTop) animated:YES]; 
上一篇 下一篇

猜你喜欢

热点阅读