Quote:
Originally Posted by baja_yu
Pass it just the filename.
localNote.soundName = @"itimer.caf";
|
The sound still plays through with the original tritone sound, though.
EDIT: I'm not sure what the difference between:
Code:
localNote.soundName = @"itimer.caf";
and
Code:
localNote.soundName = @"itimer.caf";
is, but its working now. I seriously wrote exactly what I had already written (just commented out), but this time it worked. I don't know why it didn't work, but I won't question it, since its working.
Thank you!
EDIT #2:
This is exactly what I had, plus the new line:
Code:
localNote.soundName = @"itimer.caf";
/*localNote.soundName = @"itimer.caf";
localNote.soundName = [[NSBundle mainBundle] pathForResource:@"itimer" ofType:@"caf"];
[localNote setSoundName:[[NSBundle mainBundle] pathForResource:@"itimer" ofType:@"caf"]];
[localNote setSoundName:UILocalNotificationDefaultSoundName];*/