1
0

SceneLaunchBehavior.swift 474 B

12345678910111213
  1. /// The launch behavior for a scene.
  2. public enum SceneLaunchBehavior: Sendable {
  3. /// SwiftCrossUI decides whether to use ``presented`` or ``suppressed``
  4. /// depending on the type of scene.
  5. ///
  6. /// Currently, `presented` is used for ``WindowGroup``s, and
  7. /// `suppressed` is used for ``Window``s.
  8. case automatic
  9. /// The scene will be shown on app launch.
  10. case presented
  11. /// The scene will not be shown on app launch.
  12. case suppressed
  13. }