'applicationDidEnterBackground: and time to write on a database
When the application terminates, I write data on a database.
As from iOS 4 applicationWillTerminate: isn't called, I've put the same saving code both in applicationDidEnterBackground: and applicationWillTerminate:
I read that the task performed in applicationDidEnterBackground: has to take a few time.
So, if the writing on the db takes more, how could I manage this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
