title: User inactivity is not working when Screen off or phone lock state in my ios app
body: <p>User inactivity is not working when Screen off or phone lock state in my ios app
  I'm using this code in my project</p>
  
  <p><a href="https://stackoverflow.com/a/8994884/8569442">https://stackoverflow.com/a/8994884/8569442</a></p>