<!--
{
  "availability" : [
    "macOS: 10.10.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVKit",
  "identifier" : "/documentation/AVKit/AVCaptureViewDelegate/captureView(_:startRecordingTo:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVKit"
    ],
    "preciseIdentifier" : "c:objc(pl)AVCaptureViewDelegate(im)captureView:startRecordingToFileOutput:"
  },
  "title" : "captureView(_:startRecordingTo:)"
}
-->

# captureView(_:startRecordingTo:)

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

```
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 <doc://com.apple.documentation/documentation/AVFoundation/AVCaptureMovieFileOutput>, you start recording by calling <doc://com.apple.documentation/documentation/AVFoundation/AVCaptureFileOutput/startRecording(to:recordingDelegate:)> on the capture file output.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)