How can I access default iOS sound to set it as notification sound?

user1367471 picture user1367471 · Aug 2, 2012 · Viewed 25.7k times · Source

How can I access default iOS sound (Tri-tone, Chime, Glass, Horn, Bell, Electronic...) to set it as local notification sound?

I've created local notification, everything works but with default sound (which is Tri-tone). I want to use Chime or another

I only know how to use my own sound files:

localNotif.soundName = @"sound.wav";

Answer

bitmapdata.com picture bitmapdata.com · Aug 2, 2012

check out this site.

If you want to play a Default System Sound. refer a following code, but private Frameworks. you will be rejected.

AudioServicesPlaySystemSound(1004);

and check out other this sample code (No private frameworks. supported a Apple).