CoreData could not fulfill a fault for

后端 未结 5 824
我在风中等你
我在风中等你 2021-01-30 13:45

I have a really annoying problem, which I just can\'t seem to get fixed.

I have a view when I send a message that gets saved to the Core Data, when thats done it asked

5条回答
  •  旧巷少年郎
    2021-01-30 14:18

    I fixed the error with changing NSFetchedResultsController's "cacheName" string to nil.

    NSFetchedResultsController *aFetchedResultsController = [[NSFetchedResultsController alloc] initWithFetchRequest:fetchRequest managedObjectContext:self.managedObjectContext sectionNameKeyPath:nil cacheName:@"Root"nil];

提交回复
热议问题