Proyectos de Subversion Iphone Microlearning - Inconcert

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
//
2
//  SceneDelegate.swift
3
//  twogetskills
4
//
5
//  Created by user186960 on 2/15/21.
6
//  Copyright © 2021 Cesa Magnament Solutions. All rights reserved.
7
//
8
 
9
import UIKit
10
import SwiftUI
11
 
12
class SceneDelegate: UIResponder, UIWindowSceneDelegate {
13
 
14
    var window: UIWindow?
15
 
16
/*
17
    func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
18
        // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`.
19
        // If using a storyboard, the `window` property will automatically be initialized and attached to the scene.
20
        // This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead).
21
        // Use a UIHostingController as window root view controller
22
        if let windowScene = scene as? UIWindowScene {
23
            let window = UIWindow(windowScene: windowScene)
24
            window.rootViewController = UIHostingController(rootView: ContentView())
25
            self.window = window
26
            window.makeKeyAndVisible()
27
        }
28
    }
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 neccessarily 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
 
59
}