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

configurationDisplayName(_:)

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

Declaration 宣言

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

Return Value 戻り値

A widget configuration that includes a descriptive name for the widget.

Parameters パラメータ

displayName

A string describing the widget.