@@ -11,27 +11,32 @@ import UIKit
1111@UIApplicationMain
1212class AppDelegate : UIResponder , UIApplicationDelegate {
1313
14-
15-
16- func application( _ application: UIApplication , didFinishLaunchingWithOptions launchOptions: [ UIApplication . LaunchOptionsKey : Any ] ? ) -> Bool {
17- // Override point for customization after application launch.
18- return true
19- }
20-
21- // MARK: UISceneSession Lifecycle
22-
23- func application( _ application: UIApplication , configurationForConnecting connectingSceneSession: UISceneSession , options: UIScene . ConnectionOptions ) -> UISceneConfiguration {
24- // Called when a new scene session is being created.
25- // Use this method to select a configuration to create the new scene with.
26- return UISceneConfiguration ( name: " Default Configuration " , sessionRole: connectingSceneSession. role)
27- }
28-
29- func application( _ application: UIApplication , didDiscardSceneSessions sceneSessions: Set < UISceneSession > ) {
30- // Called when the user discards a scene session.
31- // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
32- // Use this method to release any resources that were specific to the discarded scenes, as they will not return.
33- }
34-
14+ func application(
15+ _ application: UIApplication ,
16+ didFinishLaunchingWithOptions launchOptions: [ UIApplication . LaunchOptionsKey : Any ] ?
17+ ) -> Bool {
18+ // Override point for customization after application launch.
19+ return true
20+ }
21+
22+ // MARK: UISceneSession Lifecycle
23+
24+ func application(
25+ _ application: UIApplication , configurationForConnecting connectingSceneSession: UISceneSession ,
26+ options: UIScene . ConnectionOptions
27+ ) -> UISceneConfiguration {
28+ // Called when a new scene session is being created.
29+ // Use this method to select a configuration to create the new scene with.
30+ return UISceneConfiguration (
31+ name: " Default Configuration " , sessionRole: connectingSceneSession. role)
32+ }
33+
34+ func application(
35+ _ application: UIApplication , didDiscardSceneSessions sceneSessions: Set < UISceneSession >
36+ ) {
37+ // Called when the user discards a scene session.
38+ // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
39+ // Use this method to release any resources that were specific to the discarded scenes, as they will not return.
40+ }
3541
3642}
37-
0 commit comments