I have a WidgetBundle
to show multiple Widgets
for my app.
Recently I migrated over ClockKit
complications to use WidgetKit
.
Some of my Complications
and now Widgets
should only show up in the widgets list for a user if certain criteria is met, this criteria is stored in the main app and can change at runtime.
For Complications
in ClockKit
this was possible by using CLKComplicationServer.reloadComplicationDescriptor
during runtime and returning the available descriptors based on the criteria. I've been looking for a similar method within WidgetKit
but I can't seem to find one.
Is it possible to reload the widget list during runtime similar to how it was possible in ClockKit
with CLKComplicationServer.reloadComplicationDescriptor
.