init(rootScene:)
Creates a new hosting scene representation for the specified scene(s).
Declaration
@MainActor init(@SceneBuilder rootScene: () -> Content)Parameters
- rootScene:
The SwiftUI scene(s) to be represented.
Creates a new hosting scene representation for the specified scene(s).
@MainActor init(@SceneBuilder rootScene: () -> Content)The SwiftUI scene(s) to be represented.