title: How to sign out user automatically after a certain period of time?
body: <p>At the Time of Signing In to my Application, I am getting <strong>Time for which the current user login is valid</strong>["liveTime"] from the BackEnd API for a particular user. And I am saving this liveTime(parameter) to the NSUserDefaults. </p>
  
  <p>My requirement is to show the Sign In page again when liveTime will become 0. And If that particular user kills the app and if liveTime is greater than 0, It will show the Default page after Sign In happens.</p>
  
  <p>Please share your experience how to do or what is the best practices to resolve this kind of problems. Please share the code snippets if someone has already done it.</p>