Do we need to have all 3 system sizes available for widgets in iOS 14?
Is it possible to disable SystemLarge/Medium?
Thanks
Found the answer
var body: some WidgetConfiguration {
IntentConfiguration(kind: kind, intent: ConfigurationIntent.self, provider: Provider()) { entry in
TestWidgetEntryView(entry: entry)
}
.supportedFamilies([.systemSmall, .systemMedium])
.configurationDisplayName("My Widget")
.description("This is an example widget.")
}
You can add .supportedFamilies([.systemSmall, .systemMedium]) in the @main functions
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With