title: Can not call method from another view controller in Objective C, iPhone SDK
body: <p>At my StartWorkoutViewController.m I trigger: </p>
  
  <pre><code>    #import "WorkoutViewController.h"
  @implementation StartWorkoutViewController
  
  - (IBAction) start
  {   
  [firstViewController performSelector:@selector(callMyAction)];
  WorkoutViewController *ViewCon = [[WorkoutViewController alloc]init];
  [ViewCon callMyAction];
  [ViewCon release];
  }
  </code></pre>
  
  <p>then at my WorkOutViewController.h I added this:</p>
  
  <pre><code>- (void)callMyAction;
  </code></pre>
  
  <p>and at my WorkOutViewController.m I added this:</p>
  
  <pre><code>#import "StartWorkoutViewController.h"
  
  -(void)viewWillAppear:(BOOL)animated{
      NSURL *url = [NSURL fileURLWithPath:[NSString stringWithFormat:@"%@/achtergrondgeluid.mp3", [[NSBundle mainBundle] resourcePath]]];
  
      NSError *error;
      audioPlayer = [[AVAudioPlayer alloc] initWithContentsOfURL:url error:&amp;error];
      audioPlayer.numberOfLoops = -1;
      [audioPlayer play];
  
  
  }
  -(void)callMyAction{
      NSLog(@"suckers");
  
      [audioPlayer pause];
  }
  </code></pre>
  
  <p>Now my NSLog (@"suckers") triggers very well from the StarWorkoutViewController, but for some reason the audioPlayer does nothing, any idea? Also setting labels in the Workout ViewController from the callMyAction in this file. Don't work! Any idea? Thanks!</p>