Posts

Post not yet marked as solved
0 Replies
588 Views
Is there any way to modify the configurationDisplayName, description, or supportedFamilies properties, or are they essentially fixed per app version in the App Store? struct MyWidget: Widget { 		var body: some WidgetConfiguration { 				StaticConfiguration(...) { ... } 				.configurationDisplayName("foo") 				.description("bar") 				.supportedFamilies([.systemSmall, .systemMedium]) 		} } Eg, say if the user reaches an "expert" level in a game, only then do I want to make the .systemLarge size available to them. In such a case, I'd like to modify the supportedFamilies property and not have them essentially fixed in the binary. In my testing, it seems that the widget body code is only ever run once.
Posted Last updated
.