Contents

recordingEditor(_:)

Presents the recording editor for the given recording URL.

Declaration

@MainActor @preconcurrency func recordingEditor(_ item: Binding<URL?>) -> some View

Parameters

  • item:

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

Discussion

When item is non-nil, the editor is presented for that URL. When the user dismisses, the framework sets item back to nil.

.recordingEditor($recordingURL)

See Also

Screen capture