0

I have an app that plays audio(a media player). When the user receives a phone call, the audio appropriately pauses then resumes when the call ends, even if the user doesn't have the media player in the foreground. The problem is when a user makes a phone call while the audio is running, the audio will pause, but not resume after the call is finished. The iPod music player implements this functionality - The main and important different between my player and the iPod one is that I am using an AVPlayer instead of an MPMediaController.

Any ideas?

Thanks

coder
  • 10,460
  • 17
  • 72
  • 125

1 Answers1

0

You should probably check the CTCallCenter reference documentation. As far as I know it is not possible for you to resume the music, however you can do some of the stuff suggested in this post.

The suggestion is to send a notification to your user when the call has ended-as a reminder for the music.

Community
  • 1
  • 1
El Developer
  • 3,345
  • 1
  • 21
  • 40