From a43a3dcf34a398b0fe693304fa00feb83a876ce8 Mon Sep 17 00:00:00 2001 From: younger_times <841720330@qq.com> Date: 星期一, 24 四月 2023 18:46:36 +0800 Subject: [PATCH] 项目搭建工作 完成登录UI 完成主页UI布局 --- BrokerDriver/SceneDelegate.swift | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/BrokerDriver/SceneDelegate.swift b/BrokerDriver/SceneDelegate.swift index d1ffc4d..f0826f7 100644 --- a/BrokerDriver/SceneDelegate.swift +++ b/BrokerDriver/SceneDelegate.swift @@ -16,13 +16,11 @@ guard let windowScene = (scene as? UIWindowScene) else { return } window = UIWindow(windowScene: windowScene) window?.frame = windowScene.coordinateSpace.bounds - app.window = window - -// let nav = BaseNavigationController(rootViewController: Login()) -// window?.rootViewController = nav -// window?.overrideUserInterfaceStyle = .light -// window?.makeKeyAndVisible() + let nav = BaseNavigationController(rootViewController: LoginVC()) + window?.rootViewController = nav + window?.overrideUserInterfaceStyle = .light + window?.makeKeyAndVisible() } func sceneDidDisconnect(_ scene: UIScene) { -- Gitblit v1.7.1