Contents

description(_:)

Sets the description shown for a widget when a user adds or edits it using the contents of a text view.

Declaration

@MainActor @preconcurrency func description(_ description: Text) -> some WidgetConfiguration

Parameters

  • description:

    A text view containing a localized string to display.

Return Value

A widget configuration with a description of the widget.