title: How to properly close an AVAudioRecorder file after a crash
body: <p>I'm wondering if anyone has any ideas on how to properly close an audio file that was open and actively recording when the application experienced a crash. A simple way to test this is to start a recording using the simulator, then press stop in Xcode.</p>
  
  <p>What I believe is happening is that the audio file was never closed, so any attempts to open it again for playback causes an error in AVAudioPlayer. So now the file is pretty much useless. I'm hoping to be able to recover it.</p>