Loading UIViewControllers via UIButton with delay functionality
<p>I want <code>UIButton</code> playpauseAction to load <code>UIViewController</code> with some delay, maybe with an <code>NSTimer</code>.</p>

<pre><code>-(void)playpauseAction:(id)sender 
{

  if  

  ([audioPlayer isPlaying]){

 [sender setImage:[UIImage imageNamed:@"play.png"] forState:UIControlStateSelected];

      [audioPlayer pause];

  } else {

 [sender setImage:[UIImage imageNamed:@"pause.png"] forState:UIControlStateNormal];

      [audioPlayer play];

      [self displayviewsAction:sender];


  }   

}


- (void)displayviewsAction:(id)sender
{   
   PageOneViewController *viewController = [[PageOneViewController alloc] init];

viewController.view.frame = CGRectMake(0, 0, 320, 480);

   [self.view addSubview:viewController.view];

  [self.view addSubview:toolbar];

[viewController release];
}
</code></pre>

<p>Can someone please tell me how that can be done?</p>
