Contents

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.