Instance Method インスタンスメソッド

description(_:)

Sets the description shown for a widget when a user adds or edits it using the specified string.

Declaration 宣言

func description<S>(_ description: S) -> some WidgetConfiguration where S : StringProtocol

Return Value 戻り値

A widget configuration with a description of the widget.

Parameters パラメータ

displayName

A string describing the widget.