One Logo Pool Ball
WidgetKit · IOS API REFERENCE

SupportedActivityFamiliesEnvironmentKey

struct · iOS 18.0+ · SDK 27.1

struct SupportedActivityFamiliesEnvironmentKey

An environment key for the size of a rendered Live Activity. To detect the currently rendered activity family size, use the <doc://com.apple.documentation/documentation/swiftui/environmentvalues/activityfamily> environment variable.

Members (1)

get · iOS 18.0+

defaultValue

TypeScript
static get defaultValue(): Array<ActivityFamily>
Swift declaration
static var defaultValue: Set<ActivityFamily> { get }

The default value for the environment key.

Skipped declarations

No declarations were skipped in this snapshot.

All WidgetKit types →