One Logo Pool Ball
WidgetKit · IOS API REFERENCE

WidgetRelevanceAttribute

struct · iOS 18.0+ · SDK 27.1

struct WidgetRelevanceAttribute<Configuration>

A type that describes when a specific widget could be relevant. Use the relevance attribute's ``RelevantContext`` to describe when a specific widget might be relevant.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

WidgetRelevanceAttribute.init(configuration:context:)

This declaration needs Swift generic type arguments. (no canonical witness for Configuration)

WidgetRelevanceAttribute.init(configuration:group:)

This declaration needs Swift generic type arguments. (no canonical witness for Configuration)

All WidgetKit types →