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

configurationDisplayName(_:)

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

Declaration 宣言

func configurationDisplayName(_ displayName: Text) -> some WidgetConfiguration

Return Value 戻り値

A widget configuration with a descriptive name for the widget.

Parameters パラメータ

displayName

A text view containing a localized string to display.