views:

33

answers:

0

Well, all is in the title :
I'm trying to use AVAudioPlayer in my app so that when a user initiate a call, the audio resume.
As for now, audio resume correctly in case of incoming phone call (with use of AVAudioPlayerDelegate methods audioPlayerBeginInterruption & audioPlayerEndInterruption).

When if I initiate a phone call, audioPlayerBeginInterruption is correctly launched, but when hanging up, it seems that no method of my app is called, and so audio don't resume.

I've seen an app like Deezer succeed in resuming audio in this case.

Does someone know how to achieve that ?