[managedObjectContext refreshAllObjects]
In fact, I get a random error sometime during saving the context, and when I call [managedObjectContext refreshAllObjects]after the error, it allows me to save.
Can anyone advise me on this method.
source
share