From 20abed994e9a57bd1dae7be1e6e3d94a32dec192 Mon Sep 17 00:00:00 2001 From: Nikita Ermolenko Date: Sat, 28 Oct 2017 18:25:45 +0600 Subject: [PATCH] Fix root module appearance --- Routing/AppDelegate.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Routing/AppDelegate.swift b/Routing/AppDelegate.swift index c94dd43..1ae80ad 100644 --- a/Routing/AppDelegate.swift +++ b/Routing/AppDelegate.swift @@ -15,8 +15,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { let mainModule = MainModuleBuilder.module() let navigationController = UINavigationController(rootViewController: mainModule) + + window = UIWindow(frame: UIScreen.main.bounds) window?.rootViewController = navigationController - + window?.makeKeyAndVisible() + return true }