Skip to content

Commit 6e06fff

Browse files
remove no need code on AppDelegate
1 parent be42357 commit 6e06fff

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

HttpSessionSample/AppDelegate.swift

+3-5
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,13 @@ import UIKit
1010
@main
1111
class AppDelegate: UIResponder, UIApplicationDelegate {
1212
func application(_: UIApplication, didFinishLaunchingWithOptions _: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
13-
// Override point for customization after application launch.
14-
return true
13+
true
1514
}
1615

1716
// MARK: UISceneSession Lifecycle
1817

1918
func application(_: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options _: UIScene.ConnectionOptions) -> UISceneConfiguration {
20-
// Called when a new scene session is being created.
21-
// Use this method to select a configuration to create the new scene with.
22-
return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
19+
UISceneConfiguration(name: "Default Configuration",
20+
sessionRole: connectingSceneSession.role)
2321
}
2422
}

0 commit comments

Comments
 (0)