I have an UILocalNotification
playing the following sound:
notification1.soundName = @"Alarm";
When the app is open, I use
- (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification
in appDelegate to intercept the alert which otherwise wouldn't be noticed by the user, but the sound doesn't play, though. How can I make the sound play? In the method mentioned further up I've got an UIAlertView
but I couldn't find a possibility to fire it with a sound.
Thanks!