I was wondering if there was a way to retrieve users ringtones or sounds. I am not interested in their music playlist but like 30 second clips of audio that could work for uilocalnotifications. Does anyone know how to do this? Thanks!
Asked
Active
Viewed 1,653 times
1 Answers
2
See this answer. how to get the system ringtones programmingly in ios?
If you still want to fire an audio notification, this article should get you started.
It seems you can assign a filename to the soundName property, or pass UILocalNotificationDefaultSoundName
for (what I would guess is) the user's selected notification sound.
- (void)scheduleNotificationWithItem:(ToDoItem *)item interval:(int)minutesBefore {
UILocalNotification *localNotif = [[UILocalNotification alloc] init];
localNotif.soundName = UILocalNotificationDefaultSoundName;
...
[localNotif release];
}

Community
- 1
- 1

Jon Jaques
- 4,262
- 2
- 23
- 25