When you begin recording with AVAudioRecorder, the AVAudioSession category is set to
AVAudioSessionCategoryRecord. To play sounds simultaneously you must manually set the category afterwards:
Code:
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayAndRecord error:nil];