title: MPMusicPlayerController stop and can't resume when play audio from somewhere in iOS
body: <p>I am doing Music App with <code>iPodMusicPlayerController</code>.</p>
  
  <p>I am fine play songs from iPod Library.</p>
  
  <p>However one thing.</p>
  
  <p>when i playing songs from iPod Library and i go to safari or something and play music or movie from web , my app stop playing.</p>
  
  <p>After played from web , i go back to my app and tap on play button that isn't work anymore.</p>
  
  <p>Here is my playOrPause action codes.</p>
  
  <pre><code>MPMusicPlaybackState playbackState = self.player.playbackState;
      if (playbackState == MPMusicPlaybackStateStopped || playbackState == MPMusicPlaybackStatePaused)
      {
          [self.playOrPauseButton setImage:[UIImage imageNamed:@"pauseiCon"] forState:UIControlStateNormal];
          [self.player play];
      }
  
      else if (playbackState == MPMusicPlaybackStatePlaying)
      {
          [self.playOrPauseButton setImage:[UIImage imageNamed:@"playiCon"] forState:UIControlStateNormal];
          [self.player pause];
      }
  </code></pre>
  
  <p>And also i registered Notification.</p>
  
  <p>How can i solve it?</p>