美文网首页
iOS中tableview刷新某一行

iOS中tableview刷新某一行

作者: 羊妞麻麻 | 来源:发表于2017-09-06 15:07 被阅读993次
    tableview刷新某一行
    [tabelView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:[NSIndexPath indexPathForRow:IndexPath.row inSection:IndexPath.section], nil] withRowAnimation:UITableViewRowAnimationNone];
    
    collection刷新某一行
    [collectionView reloadItemsAtIndexPaths:@[IndexPath]];
    

    相关文章

      网友评论

          本文标题:iOS中tableview刷新某一行

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