Contents

RelevanceConfiguration

A type that describes the content of a widget that uses relevance clues.

Declaration

@MainActor @preconcurrency struct RelevanceConfiguration<Content> where Content : View

Mentioned in

Overview

In watchOS, widgets can provide the system with relevance clues to indicate that the widget is relevant to a person and should appear prominently in the Smart Stack. To provide relevance clues to watchOS, use RelevanceConfiguration or implement the relevance() requirement in your timeline provider.

For more information, refer to Increasing the visibility of widgets in Smart Stacks.

Topics

Creating a relevance configuration

See Also

Smart Stacks