03 2020 档案
摘要:第一步:现在model中定义一个bool属性, @property(nonatomic,assign)BOOL ischangeColor; 第一步:在给model赋值时,把符合条件的model的ischangeColor 设置为YES,不符合的设置为NO 第三部:直接在cell中根据model的i
阅读全文
摘要:1.刷新某一行 NSIndexPath *indexPath = [NSIndexPath indexPathForRow:3 inSection:0];//行号 [self.tableView reloadRowsAtIndexPaths:@[indexPath] withRowAnimation
阅读全文

浙公网安备 33010602011771号