Contents

configurationDisplayName(_:)

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

Declaration

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

Parameters

  • displayName:

    A text view containing a localized string to display.

Return Value

A widget configuration with a descriptive name for the widget.