SceneResponder

@MainActor
open class SceneResponder : UIResponder, UIWindowSceneDelegate

SceneDelegate基类

  • 场景主window

    Declaration

    Swift

    @MainActor
    open var window: UIWindow?
  • 初始化根控制器,子类重写

    Declaration

    Swift

    @MainActor
    open func setupController()

UIWindowSceneDelegate

  • Undocumented

    Declaration

    Swift

    @MainActor
    open func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions)
  • Undocumented

    Declaration

    Swift

    @MainActor
    open func sceneDidDisconnect(_ scene: UIScene)
  • Undocumented

    Declaration

    Swift

    @MainActor
    open func sceneDidBecomeActive(_ scene: UIScene)
  • Undocumented

    Declaration

    Swift

    @MainActor
    open func sceneWillResignActive(_ scene: UIScene)
  • Undocumented

    Declaration

    Swift

    @MainActor
    open func sceneWillEnterForeground(_ scene: UIScene)
  • Undocumented

    Declaration

    Swift

    @MainActor
    open func sceneDidEnterBackground(_ scene: UIScene)