---
title: "recordingEditor(_:mode:)"
framework: swiftui
role: symbol
role_heading: Instance Method
platforms: [tvOS 27.0+]
path: "swiftui/view/recordingeditor(_:mode:)"
---

# recordingEditor(_:mode:)

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

## Declaration

```swift
@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).

## See Also

### Screen capture

- [recordingEditor(_:)](swiftui/view/recordingeditor(_:).md)
