In ( https://developer.apple.com/videos/play/wwdc2020/10028/ ) it says "Widgets are not mini-apps" and "Rather than mini-apps filled with many little buttons". It also talks a lot about widgets being "glanceable".
However, the Shortcuts Widget doesn't conform to this same advice. It has a lot of buttons you can tap to execute a shortcut.
As a user I find the Shortcuts Widget extremely helpful. But I'm curious from a developer perspective why Apple seems to be setting a double standard in terms of the advice they give vs their own software.
For some more concrete questions:
However, the Shortcuts Widget doesn't conform to this same advice. It has a lot of buttons you can tap to execute a shortcut.
As a user I find the Shortcuts Widget extremely helpful. But I'm curious from a developer perspective why Apple seems to be setting a double standard in terms of the advice they give vs their own software.
For some more concrete questions:
How does the Shortcuts Widget (which is basically a bunch of buttons to execute shortcuts) conform to the advice given in that session about being "glanceable"? If it doesn't conform to that advice, why does it not? Is there something else developers should consider or think about here?
Is the ability to have actionable buttons (like in the Shortcuts Widget) limited to Apple use only and hidden inside of a Private Framework? Or are 3rd party developers allowed to create experiences with buttons in their widget that can execute a given task?