init(isEnabled:content:)
Creates a scene accessory that presents non-interactive content on an external display with a binding for programmatic enablement.
Declaration
nonisolated init(isEnabled: Binding<Bool>, @ContentBuilder content: @escaping () -> Content)Parameters
- isEnabled:
A binding for whether or not the accessory should present if available.
- content:
The scene’s content.