title: UIView willMoveToSuperview error
body: <p>I get this random error when I run my app on my iPhone.</p>
  
  <p>First, I tap this method-</p>
  
  <pre><code>-(IBAction)playBeat1 {
      NSString *path = [[NSBundle mainBundle] pathForResource:@"beat1" ofType:@"mp3"];
      AVAudioPlayer* theAudio=[[AVAudioPlayer alloc] initWithContentsOfURL:[NSURL fileURLWithPath:path] error:NULL]; 
  
      [theAudio play];
      NSLog(@"Beatmaker");    
  }
  </code></pre>
  
  <p>Then when I tap this (It changes Views)-</p>
  
  <pre><code>-(IBAction) back{   
      [self dismissModalViewControllerAnimated:YES];
  }
  </code></pre>
  
  <p>I get this error </p>
  
  <p>UIView willMoveToSuperview:]: message sent to deallocated instance 0x1b1a20</p>
  
  <p>Any Ideas?</p>