User inactivity is not working when Screen off or phone lock state in my ios app I'm using this code in my project
Asked
Active
Viewed 63 times
1 Answers
0
Usually NSTimer is not suited to work in background.
You have to write workaround to put it in background task like here or use app delegate methods to do something you need after application is back in foreground like here.

tema-orange
- 186
- 1
- 7
-
what about Screen off issue – raju reddy Sep 07 '17 at 11:05