Contents

captureView(_:startRecordingTo:)

Tells the delegate that the user has made a request to start a new recording.

Declaration

func captureView(_ captureView: AVCaptureView, startRecordingTo fileOutput: AVCaptureFileOutput)

Parameters

  • captureView:

    The capture view.

  • fileOutput:

    The capture file output.

Discussion

If the capture file output is an instance of AVCaptureMovieFileOutput, you start recording by calling startRecording(to:recordingDelegate:) on the capture file output.