Post marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliessolved.tooltip
I think this problem happens because of my DispatchQueue.global(qos: .background).async. I use this to store data minutes in my music app when users pause or next to the next music. below is the code of how I use this qos background.
...
DispatchQueue.global(qos: .background).async {
...
//fetch the previous data before replace or save the new one
let context = self.managedObjectContext
let fetchRequest: NSFetchRequestSomeEntityModel = SomeEntityModel.fetchRequest()
fetchRequest.predicate = NSPredicate(format: "id=%@", "001")
let fetchResult = try context.fetch(fetchRequest)
...
}
...