title: Implement auto log-off feature in Iphone
body: <p>I am making an application which logs in using some username and password. Now when i am logged in succesfully I want my application to be logged out automatically if no interaction with the application found for 10-12 minutes.</p>
  
  <p>Can anybody guide me how can i achieve this ??</p>
  
  <p>Help with some code will be really appreciated. </p>
  
  <p>Thanks</p>