iOS中tableview刷新某一行

来源:互联网 发布:php的反射机制 编辑:程序博客网 时间:2024/05/10 11:44

tableview刷新某一行

[tabelViewreloadRowsAtIndexPaths:[NSArrayarrayWithObjects:[NSIndexPathindexPathForRow:IndexPath.rowinSection:IndexPath.section],nil]withRowAnimation:UITableViewRowAnimationNone];


collection刷新某一行

[collectionView reloadItemsAtIndexPaths:@[IndexPath]];


1 0
原创粉丝点击