I\'m writing a reminders app for iPhone that displays reminders using local notifications.
If a reminder goes off while the application is running, the local notific
This is addition to Andrew Little answer.
To better mimic notification sound, you also should to configure audio session:
AVAudioSession *audioSession = [AVAudioSession sharedInstance];
[audioSession setCategory:AVAudioSessionCategoryAmbient withOptions:AVAudioSessionCategoryOptionDuckOthers error:nil];
This is essential when e.g. you listen to the music and obtain notification during this.
Parameters of session above looks the same as for sound played when notification fires with application in background: