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

description(_:)

Sets the localized description shown for a widget when a user adds or edits the widget.

Declaration 宣言

func description(_ descriptionKey: LocalizedStringKey) -> some WidgetConfiguration

Return Value 戻り値

A widget configuration with a description of the widget.

Parameters パラメータ

descriptionKey

The key for the localized description to display.