Can you use different descriptive text for adding Home Screen & Lock Screen widgets?

My app lets you create a list of items and pick one as the main item. For Home Screen widgets there are two bits of text you can use in the panel that appears when you want to add the widget:

public var body: some WidgetConfiguration {
		IntentConfiguration(kind: "myWidgetKind", intent: DynamicSelectionIntent.self, provider: Provider()) { entry in
			MyWidgetEntryView(entry: entry)
		}
		.configurationDisplayName("Title")
		.description("Description")

So, for a Home Screen widget the panel displays the title and description, and the preview shows the main item. Once you've added the widget you can edit it and pick a different item, so the title is "Display an Item" and the description is quite general, telling you what the widget can display.

The title and description are also displayed in the panel when you want to add a Lock Screen widget:

  1. For the inline Lock Screen widget, you see "Title".
  2. For rectangular and circular widgets below the clock, you see the usual Home Screen panel, so both "Title" and "Description".

There's no way of editing the item that sits behind the Lock Screen widget once you've added it, so the general text needs to be more specific and refer to the main item.

How do you give different title and description text when you're adding a Lock Screen widget?

Answered by darkpaw in 725846022

Figured this out. Once you add your Lock Screen widget, just tap it, and you'll see the panel appear that lets you choose the data behind that widget. Just like if you'd tapped "Edit Widget" on a Home Screen widget.

So, I don't need different text at all.

Accepted Answer

Figured this out. Once you add your Lock Screen widget, just tap it, and you'll see the panel appear that lets you choose the data behind that widget. Just like if you'd tapped "Edit Widget" on a Home Screen widget.

So, I don't need different text at all.

Can you use different descriptive text for adding Home Screen & Lock Screen widgets?
 
 
Q