Search code examples
iphoneobjective-cioscocoa-touchringtone

How do I play the default Phone ringtone programmatically?


I have been working on a conference related app. I want to show ringing notification for the incoming call. I have tried with AVAudioPlayer, and it worked fine for custom sounds. My question is, is it possible to get default ringtone from iPhone (user selected tone in settings) and play for my app?

thanks for your valuable suggestions...


Solution

  • No, no SDK API for get iPhone ringtones.

    But you can download those from another links and add to your project