<!--
{
  "availability" : [
    "tvOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/View/recordingEditor(_:mode:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI4ViewP018_ScreenCaptureKit_aB0E15recordingEditor_4modeQrAA7BindingVy10Foundation3URLVSgG_So011SCRecordingH4ModeVtF"
  },
  "title" : "recordingEditor(_:mode:)"
}
-->

# recordingEditor(_:mode:)

Presents the recording editor for the given recording URL with a specific mode.

```
@MainActor @preconcurrency func recordingEditor(_ item: Binding<URL?>, mode: SCRecordingEditor.Mode) -> some View
```

## Parameters

`item`

A binding to an optional URL. Non-nil presents the editor;
nil dismisses it.

`mode`

The editor mode (`.preview` or `.share`).

---

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)