I want to know how user interacts with his/her iphone while my app is in background . Is there any api or notification i will get if user locks or unlocks his/her iphone ?
Asked
Active
Viewed 1,216 times
1
-
pretty sure it's a no – Tj3n Sep 14 '16 at 10:42
-
http://stackoverflow.com/questions/706344/lock-unlock-events-iphone Is this wrong method? Its actually working ..... – Himan Dhawan Sep 14 '16 at 11:04
-
The above link question is having an assumption :- Assuming it's only possible for jailbroken devices, can you point me to the correct API. if you are working on jailbroken device, you yourself have answered your question. For non jailbroken device, it is not possible. – gurmandeep Sep 14 '16 at 11:09
-
I have tested it on simulator , its working . I will check it on real device .... Are you sure ? Please check the notes in its comment ....it is written that this method is working on non-jail broken mobile. – Himan Dhawan Sep 15 '16 at 06:00