Detect Lock Screen in background application

682 views Asked by At

I have an application which runs in background mode. And when the Lock Screen is active I need to perform some code. How do I detect when the lock screen is active from my background app?

1

There are 1 answers

0
Simon Lee On

You can't do this unless you are writing code for a Jailbroken device.