<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WidgetKit",
  "identifier" : "/documentation/WidgetKit/SupportedActivityFamiliesEnvironmentKey",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "WidgetKit"
    ],
    "preciseIdentifier" : "s:9WidgetKit39SupportedActivityFamiliesEnvironmentKeyV"
  },
  "title" : "SupportedActivityFamiliesEnvironmentKey"
}
-->

# SupportedActivityFamiliesEnvironmentKey

An environment key for the size of a rendered Live Activity.

```
struct SupportedActivityFamiliesEnvironmentKey
```

## Overview

To detect the currently rendered activity family size, use the <doc://com.apple.documentation/documentation/SwiftUI/EnvironmentValues/activityFamily>
environment variable.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)