My app needs to perform a calculation every time the device unlocks. It’s an app which the user launches intentionally and then enters background, similar like a pasteboard manager.
How can it receive a notification when the device unlocks while the app is in the background? Is this possible? The calculation is not heavy. It just reads and writes a value from/to NSUserDefaults.
With the current SDK and public API there is no way to tell when the user unlocks the screen, even if your app is in the background…