Configurable control widget

Make a control configurable to enable people to use multiple controls and to set them up to perform different actions. The apple's link is here: https://developer.apple.com/documentation/widgetkit/adding-refinements-and-configuration-to-controls.

However I have't find how to select a different timer when editing the control.

You can find a control widget which provided by apple called "Open App", in that control when you edit it, it provides a list of apps to choose. How could I configure my control widget with the same behavior, anyone can help me, thanks any way.

It is not possible for 3rd party app to recreate this as the list of installed apps is not available to other apps (privacy and security reasons). You can create a control which will open your app but opening other apps is not a supported use case today.

Rico
WWDR - DTS - Software Engineer

Please correct me if I'm wrong OP, but I think what they're actually trying to achieve is not opening other apps, but instead, giving the user a choice of timers from their own app as configuration options, so the user can configure the control widget to show (or manipulate) that timer. The "Open App" example was just illustrating the control configuration with dynamically generated options.

If that's the case @Jack8898, then you need a "ControlConfigurationIntent" that has a @Parameter allowing the user to select an AppEntity representing your timers.

Configurable control widget
 
 
Q