This is more of a general question although if you anyone has starting points (code wise) I'd appreciate it. This is my scenario. My app is launched and running in the background. The phone goes to sleep, is then woken up, unlocked and at this point I'd like the app to detect this. The challenges I see are as follows:
- How to keep the app running in the background (I've read what types of apps can do this and I'm not sure my app would fit under any of those)
- How to listen for and be ready for your app to do something AFTER the phone is unlocked (via swipe or (PIN or touch ID)).
- Can this be done safely to fit within the Apple guidelines of acceptable apps?
Input is appreciated. Thanks all