fileDialogConfirmationLabel

On macOS, configures the fileExporter, fileImporter, or fileMover with a custom confirmation button label.

View ModifieriOS 17.0+macOS 14.0+

Overloads

2 ways to call compose().fileDialogConfirmationLabel(). Each is one SwiftUI overload, picked by the arguments you pass.

React
compose().fileDialogConfirmationLabel(label: string)
Swift
@export(implementation) nonisolated func fileDialogConfirmationLabel(
    _ label: LocalizedStringResource
) -> some View
2 more Swift overloads share this form
Swift
nonisolated func fileDialogConfirmationLabel(
    _ labelKey: LocalizedStringKey
) -> some View
Swift
nonisolated func fileDialogConfirmationLabel<S>(
    _ label: S
) -> some View
where S : StringProtocol

Parameters

  • label*string

    The localized string resource to display.

See also

More in Presentation.