diff --git a/Deartoday/Deartoday/Resource/Support/SceneDelegate.swift b/Deartoday/Deartoday/Resource/Support/SceneDelegate.swift index ea20165..f7c27aa 100644 --- a/Deartoday/Deartoday/Resource/Support/SceneDelegate.swift +++ b/Deartoday/Deartoday/Resource/Support/SceneDelegate.swift @@ -13,12 +13,12 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate { func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { -// guard let scene = (scene as? UIWindowScene) else { return } -// self.window = UIWindow(windowScene: scene) -// self.window?.rootViewController = SplashViewController() -// self.window?.makeKeyAndVisible() - - guard let _ = (scene as? UIWindowScene) else { return } + guard let scene = (scene as? UIWindowScene) else { return } + self.window = UIWindow(windowScene: scene) + self.window?.rootViewController = SplashViewController() + self.window?.makeKeyAndVisible() + +// guard let _ = (scene as? UIWindowScene) else { return } } func sceneDidDisconnect(_ scene: UIScene) {