diff --git a/Application/application.ios.ts b/Application/application.ios.ts index ce3d49836..f04ca39d7 100644 --- a/Application/application.ios.ts +++ b/Application/application.ios.ts @@ -58,9 +58,9 @@ export module tk { this.window = new UIKit.UIWindow(UIKit.UIScreen.mainScreen().bounds); this.window.backgroundColor = UIKit.UIColor.whiteColor(); + this.window.makeKeyAndVisible(); var iosApp = currentApp.ios; - //this.window.setRootViewController(iosApp.rootController); if (currentApp.onLaunch) { this.window.rootViewController = currentApp.onLaunch(); @@ -68,8 +68,6 @@ export module tk { log("Missing TK.UI.Application.current.onLaunch"); } - this.window.makeKeyAndVisible(); - log("applicationDidFinishLaunchingWithOptions finished."); return true; },