Contents

audioRecorderDidFinishRecording(_:successfully:)

Tells the delegate when recording stops or finishes due to reaching its time limit.

Declaration

optional func audioRecorderDidFinishRecording(_ recorder: AVAudioRecorder, successfully flag: Bool)

Parameters

  • recorder:

    The audio recorder that finished recording.

  • flag:

    A Boolean value that indicates whether the recording stopped successfully.

Discussion

The system doesn’t call this method if the recorder stops due to an interruption.