Contents

init(content:filter:)

Creates troubleshooting content with a view.

Declaration

@MainActor init(@ContentBuilder content: @escaping () -> some View, filter: @escaping  HomeAccessoryTroubleshooting.SupportsAccessory = { _ in true })

Parameters

  • content:

    A view builder that creates the troubleshooting view.

  • filter:

    A closure that returns true for each accessory that the content applies to. By default, the content applies to all accessories.

See Also

Creating troubleshooting content