title: How do I detect user inactivity in Swift?
body: <p>I need to implement an Idle Time Out feature. To do that I simply need to know how to detect when the user touches the screen (something similar to onUserInteraction method used in Android). </p>
  
  <p>So how can I simply discover when the user interacts with the ViewController?</p>
  
  <p>P.S: if I ask this it is because you can't find nothing good in the internet!</p>