configurationDisplayName(_:)
Sets the name shown for a widget when a user adds or edits it using the specified string.
Declaration
@MainActor @preconcurrency func configurationDisplayName<S>(_ displayName: S) -> some WidgetConfiguration where S : StringProtocol
Parameters
- displayName:
A string describing the widget.
Return Value
A widget configuration that includes a descriptive name for the widget.