AVFoundationRecorder
AVFoundationRecorder copied to clipboard
How to play a paused audio ?
It looks like I can't open a paused audio and play it. I want to record a piece of audio, pause audio recorder, play and listen it. But when I click on play button, It says "Open failed. The operation could not be completed".
Below is the line that throws this error:
self.player = try AVAudioPlayer(contentsOf: url!)