How many widgets can i add to an app?
What's the upper limit?
What's the upper limit?
Can developer build an app that has a collection of widgets?Like Health Gallery, Quick Launch or Shortcuts? Or more themes? I'm not sure how it could take that number of widgets goes.I'm not sure if there's a hard upper limit, but at some point usability or discoverability will be an issue for users. Users swipe through the widgets that your app offers in the gallery and if there are a lot it may be frustrating for users to find the widget that's useful to them.
How many are you considering having in your app? What would they all do?
Code Block @main struct WidgetKitExtension: WidgetBundle { @WidgetBundleBuilder var body: some Widget { MyWidgetOne() MyWidgetTwo() MyWidgetThree() MyWidgetFour() MyBundle().body } } struct MyBundle: WidgetBundle { @WidgetBundleBuilder var body: some Widget { MyWidgetFive() MyWidgetSix() MyWidgetSeven() } }