I preload the data from the service in the mobile application.
Here I added about 7 services to NSOperationQueue, and all these operations will lead to database updates.
Here, when updating the database, I get a warning in the log, for example, "FMDatabase is currently in use", and the data was not inserted into the database.
Here's how to deal with this problem while running and updating the database in parallel.
source
share