Yes. Use
+ (void)deleteCacheWithName:(NSString *)name;
The name is the name that you specified during the NSFetchedResultsController initialization time, when called
- (id) initWithFetchRequest:(NSFetchRequest *)fetchRequest managedObjectContext:(NSManagedObjectContext *)context sectionNameKeyPath:(NSString *)sectionNameKeyPath cacheName:(NSString *)name;
setting the cacheName argument.
Alternatively, you can avoid caching Core Data during NSFetchedResultsController initialization: just pass nil for the cacheName argument.
source share