init(content:)
Creates an immersive space.
Declaration
init(@ImmersiveSpaceContentBuilder content: @escaping () -> Content) where Data == NeverParameters
- content:
An immersive space content builder that defines the content of the space.
Discussion
The space uses the specified content builder to form the content.