title: AVAudioPlayer only plays 1 song in background
body: <p>I have a AVAudioPlayer that plays music and automatically goes to the next song when the current one is done. This works perfectly when the app is open, but when the app isn't open, it will only go the next song once. After playing one song beginning to end while in the background,</p>
  
  <p><code>- (void)audioPlayerDidFinishPlaying:(AVAudioPlayer *)player successfully:(BOOL)flag</code> </p>
  
  <p>wont get called again. I have:</p>
  
  <pre><code>[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback error:nil];
  [[AVAudioSession sharedInstance] setActive: YES error: nil];
  [[UIApplication sharedApplication] beginReceivingRemoteControlEvents];
  </code></pre>
  
  <p>in the viewdidload, But the problem still persiste, Does anyone know what would cause this? </p>