How to handle AVAudioplayer resume playback after interruption ends
<p>When incoming phone call ends i want AVAudioplayer to resume playback</p>

<p>I delegated AVAudioPlayerDelegate in h file</p>

<p>and used </p>

<pre><code>-(void)audioPlayerEndInterruption:(AVAudioPlayer *)audioPlayer
{

 [self.audioPlayer play];

}
</code></pre>

<p>but when phone ends or gets declined it should resume avaudioplayer but it is not. Can anyone please tell if i m doing something wrong over here.</p>

<p>Appreciate help.</p>
