configurationDisplayName(_:)
Sets the localized name shown for a widget when a user adds or edits the widget.
Declaration
@MainActor @preconcurrency func configurationDisplayName(_ displayName: LocalizedStringResource) -> some WidgetConfiguration
Parameters
- displayName:
Text resource for the localized name to display.
Return Value
A widget configuration that includes a descriptive name for the widget.