<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FamilyControls",
  "identifier" : "/documentation/FamilyControls/FamilyActivityPicker/init(headerText:footerText:selection:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Family Controls"
    ],
    "preciseIdentifier" : "s:14FamilyControls0A14ActivityPickerV10headerText06footerF09selectionACSSSg_AG7SwiftUI7BindingVyAA0aC9SelectionVGtcfc"
  },
  "title" : "init(headerText:footerText:selection:)"
}
-->

# init(headerText:footerText:selection:)

Creates a new activity picker with optional header and footer text.

```
@MainActor @preconcurrency init(headerText: String? = nil, footerText: String? = nil, selection: Binding<FamilyActivitySelection>)
```

## Parameters

`headerText`

An optional string that provides text for the header of the picker view.

`footerText`

An optional string that provides text for the footer of the picker view.

`selection`

A binding that manages the user-selected categories, apps, and web domains.

---

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)