title: XCode: Locking or timing out a view or its elements for a certain amount of time
body: <p>I'm trying to find a way to time out a screen on an iPhone after pressing a button for a certain amount of time. I'm trying to do this because my app sends a command that takes some time to process and I don't want the user to be able to press anything else or send out any other commands while this command is executing.</p>
  
  <p>I've been searching for a few hours now and haven't found anything useful.</p>