WidgetRelevanceGroup
A type for configuring widget behavior in the watchOS Smart Stack.
Declaration
struct WidgetRelevanceGroupOverview
Use WidgetRelevanceGroup alongside WidgetRelevanceAttribute to tell the system how it should group your widgets in the watchOS Smart Stack. The system may provide a default grouping mechanism for widgets in the Smart Stack; for example, per-app grouping. Creating a relevance group and choosing the .ungrouped option opts out of default grouping behavior. For additional information about widgets in Smart Stacks, refer to Increasing the visibility of widgets in Smart Stacks.