Contents

init(headerText:footerText:selection:)

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

Declaration

@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.

See Also

Creating activity pickers