Post

Replies

Boosts

Views

Activity

What determines the order of an app’s different widgets in the gallery?
Hi folks, is anyone aware of how different kinds of widgets for a particular app are sorted when adding a widget via the widget gallery? I have an existing widget with a title beginning with "re", and I’m now adding a new widget with a title beginning with "ra". The new widget appears first in the list but I think I’d prefer it appear at the end. I imagine there’s another way other than title to sort the widgets, as Stocks shows its Watchlist widgets before its Symbol widget. Is there some bit of metadata to add for custom sort order? I couldn’t find anything online or in the docs (info plist or WidgetConfiguration were my first guesses). My next experiment will be changing one of the widget bundle IDs in case that’s what’s being sorted alphabetically…
1
0
662
Oct ’20