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