美文网首页
33.让UITableView自动滑动(定位)到某一行cell

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

作者: bytebytebyte | 来源:发表于2020-11-22 00:36 被阅读0次
    NSIndexPath *indexPath = [NSIndexPath indexPathWithIndex:((CircleAnnotationView *)view).type];
    
    
    [self.av.hotTableView scrollToRowAtIndexPath:indexPath atScrollPosition:(UITableViewScrollPositionTop) animated:YES]; 
    

    相关文章

      网友评论

          本文标题:33.让UITableView自动滑动(定位)到某一行cell

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