Ios NSFetchedResultsController更改更新-集合视图
我有一个CollectionView,当我编辑现有单元格时Ios NSFetchedResultsController更改更新-集合视图,ios,collections,nsfetchedresultscontroller,reloaddata,Ios,Collections,Nsfetchedresultscontroller,Reloaddata,我有一个CollectionView,当我编辑现有单元格时 case NSFetchedResultsChangeUpdate: { NSLog(@"change update"); [self.collectionView reloadData]; } 除非我向后滚动/或导航,否则单元格不会仍然更新 如日志中所示,正在调用更改更新。我需要实现此方法 - (void)controllerDidChangeContent:(NSFetchedRe
case NSFetchedResultsChangeUpdate: {
NSLog(@"change update");
[self.collectionView reloadData];
}
除非我向后滚动/或导航,否则单元格不会仍然更新
如日志中所示,正在调用更改更新。我需要实现此方法
- (void)controllerDidChangeContent:(NSFetchedResultsController *)controller
{
[self.collectionView reloadData];
}
提供触发更改通知的编辑的更多详细信息。