fileExporterFilenameLabel

On macOS, configures the fileExporter with a label for the file name field.

View ModifieriOS 17.0+macOS 14.0+

Overloads

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

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

Parameters

  • label*string

    The localized string resource to display.

See also

More in Drag and drop.