struct ConfigurationAppIntent: WidgetConfigurationIntent {
static var title: LocalizedStringResource = "Configuration"
static var description = IntentDescription("Choose Server")
@Parameter(title: "Server")
var server :Server?
}
struct Provider: AppIntentTimelineProvider {
func timeline(for configuration: ConfigurationAppIntent, in context: Context) async -> Timeline<WidgetServerEntry> {
// when restart iphone , configuration all setting is lost.
}
}
when restart iphone , configuration all setting is lost. but long tap widget and go to select param view, the value is still on last selected option.