Introducing WidgetKit
Users and developers have been requesting a particular feature for years: they all wanted to be able to have widgets on their home screen. Widgets allow users to configure, personalize, and consume little pieces of relevant data from their home screen. They also allow developers to offer users glanceable content and create added value for their apps.
Here is a preview of how a widget (in this case Calendar and Reminders widgets) looks on the home screen on the iPhone:
Now it is possible on iOS 14, macOS 11, and later versions. Developers can create widgets across iOS, iPadOS and macOS using WidgetKit and the new widget API for SwiftUI.
The Smart Stack on iOS 14 contains a set of different widgets, including the ones that the user opens frequently. If the user enables Smart Rotate, Siri can highlight relevant widgets within custom stacks.
Widgets created on iOS 13 and earlier
...