title: Dismissing ViewController after a time interval?
body: <p>Is there a way, that I can present or dismiss my ViewController after a time of 5 seconds? Maybe like...If the user presses a button after 5 seconds the new view appears.</p>
  
  <p>Any solutions or suggestions? Sorry but I didn't found a solution on the web.</p>
  
  <p>My code which doesnt work:</p>
  
  <pre><code>    -(IBAction)lol:(id)sender {
  
      [self performSelector:@selector(dissMissviewController) withObject:self afterDelay:3];
  }
  
  -(void)dissMissViewController{
  
      [self dismissModalViewControllerAnimated:YES];
  }
  </code></pre>
  
  <p>Thanks.</p>