Reputation: 3111
I'm building a countdown timer app, and wondering if I can access the list of sound clips in the built-in clock app, or do I have to create my own sound clip?
Upvotes: 2
Views: 1729
Reputation: 3319
If you're using the sound in a notifications try :
notification.soundName = UILocalNotificationDefaultSoundName;
Upvotes: 0
Reputation: 50707
Your app runs in a sandboxed environment, so accessing anything outside that sandbox is not possible. You will need to include your own sounds in your application bundle and access them that way.
Upvotes: 3