SceneResponder
@MainActor
open class SceneResponder : UIResponder, UIWindowSceneDelegate
SceneDelegate基类
-
应用主delegate
Declaration
Swift
@MainActor public class var shared: `Self`! { get }
-
场景主window
Declaration
Swift
@MainActor open var window: UIWindow?
-
初始化窗口,优先级1,子类可重写
Declaration
Swift
@MainActor open func setupWindow(_ windowScene: UIWindowScene)
-
初始化根控制器,优先级2,子类需重写
Declaration
Swift
@MainActor open func setupController()
-
初始化场景,优先级3,子类可重写
Declaration
Swift
@MainActor open func setupScene(_ windowScene: UIWindowScene)
-
自定义场景,其它场景设置
Declaration
Swift
@MainActor open func reloadController()
-
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)