RelevanceKit
Provide on-device intelligence with contextual clues that increase your widget’s visibility on Apple Watch.
Overview
On Apple Watch, widgets appear in the Smart Stack in an order that best fits a person’s context. To order the widgets that appear in the Smart Stack, watchOS attempts to determine a widget’s relevance based on several factors, including contextual clues your app provides to the system.
To give your widget additional visibility in the watchOS Smart Stack and ensure it appears when a person needs it, use RelevanceKit to provide contextual clues that signal the widget’s relevance to the system. For example, your widget might be most useful at a specific location or time, or every time a person starts a workout.
Note that you use RelevanceKit in combination with WidgetKit and App Intents to provide interactive and contextually relevant widgets in the Smart Stack, including iPhone widgets that appear on Apple Watch. When you add an import statement for App Intents to your code, App Intents implicitly adds a dependence to RelevanceKit . You don’t need to explicitly add import RelevanceKit to your code.
For more information, refer to Increasing the visibility of widgets in Smart Stacks.