88import UIKit
99
1010class SceneDelegate : UIResponder , UIWindowSceneDelegate {
11-
1211 var window : UIWindow ?
1312
1413 func scene( _ scene: UIScene , willConnectTo session: UISceneSession , options connectionOptions: UIScene . ConnectionOptions ) {
@@ -26,35 +25,5 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
2625 window. makeKeyAndVisible ( )
2726 self . window = window
2827 }
29-
30- func sceneDidDisconnect( _ scene: UIScene ) {
31- // Called as the scene is being released by the system.
32- // This occurs shortly after the scene enters the background, or when its session is discarded.
33- // Release any resources associated with this scene that can be re-created the next time the scene connects.
34- // The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` instead).
35- }
36-
37- func sceneDidBecomeActive( _ scene: UIScene ) {
38- // Called when the scene has moved from an inactive state to an active state.
39- // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive.
40- }
41-
42- func sceneWillResignActive( _ scene: UIScene ) {
43- // Called when the scene will move from an active state to an inactive state.
44- // This may occur due to temporary interruptions (ex. an incoming phone call).
45- }
46-
47- func sceneWillEnterForeground( _ scene: UIScene ) {
48- // Called as the scene transitions from the background to the foreground.
49- // Use this method to undo the changes made on entering the background.
50- }
51-
52- func sceneDidEnterBackground( _ scene: UIScene ) {
53- // Called as the scene transitions from the foreground to the background.
54- // Use this method to save data, release shared resources, and store enough scene-specific state information
55- // to restore the scene back to its current state.
56- }
57-
58-
5928}
6029
0 commit comments