<!--
{
  "availability" : [
    "macOS: 10.10.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVKit",
  "identifier" : "/documentation/AVKit/AVCaptureView/fileOutput",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVKit"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureView(py)fileOutput"
  },
  "title" : "fileOutput"
}
-->

# fileOutput

The capture file output used to record media data.

```
var fileOutput: AVCaptureFileOutput? { get }
```

## Discussion

The value of this property is the first capture file output object contained in the session’s <doc://com.apple.documentation/documentation/AVFoundation/AVCaptureSession/outputs> array, or `nil` if it has no outputs. In the latter case, the capture view disables the start recording button. However, it may still enable the controls for choosing input sources.

---

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)