Contents

WidgetRelevance

A type collecting the relevances for a widget kind.

Declaration

struct WidgetRelevance<Configuration>

Overview

Return this type from the relevance() requirement of your TimelineProvider, AppIntentTimelineProvider, or IntentTimelineProvider to inform the system of when a widget might be relevant and in which configuration.

Make sure to return the relevances ordered by priority because the system might decide to utilize only a subset of the provided relevances.

Topics

Initializers

See Also

Smart Stacks