Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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...

like image 600
Newbee Avatar asked Sep 25 '12 07:09

Newbee


People also ask

What is default ringtone tone?

The "Default Notification" sound is pretty much exactly what it purports to be. Whenever a notification comes in for any app or service, if that app or service hasn't specifically chosen a notification sound other than the default, then the default notification is what you will hear.

What is the name of default iPhone ringtone?

The Marimba As An iPhone Default Ringtone The marimba contains all of the factors that can create a distinctive and useful ringtone. And as mentioned, it is not too far from the original Bell Ringer conceptually and it indirectly supported the decades of Human Factors research from Bell Labs.

How do I change the default call sound?

Change sound & vibration settingsOpen the Phone app . Settings. Tap Sounds and vibration. To pick from available ringtones, tap Phone ringtone.


2 Answers

Someone has asked a similar question here but overall it does not appear possible, at least if you want to distribute your application through the App Store. On a jailbroken phone, you may find this answer useful.

like image 171
dreamlax Avatar answered Nov 05 '22 15:11

dreamlax


No, no SDK API for get iPhone ringtones.

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

like image 38
CReaTuS Avatar answered Nov 05 '22 17:11

CReaTuS