AVAudioRecorder
An object that records audio data to a file.
Declaration
class AVAudioRecorderMentioned in
Overview
Use an audio recorder to:
Record audio from the system’s active input device
Record for a specified duration or until the user stops recording
Pause and resume a recording
Access recording-level metering data
To record audio in iOS or tvOS, configure your audio session to use the record or playAndRecord category.
Topics
Creating an audio recorder
Controlling recording
prepareToRecord()record()record(atTime:)record(forDuration:)record(atTime:forDuration:)pause()stop()isRecordingdeleteRecording()