updated iOS Kimera Cuteness

This commit is contained in:
Stanimir Karoserov
2014-04-08 17:51:15 +03:00
parent d9bcadc2d3
commit bde6efb9cb

View File

@ -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 = <Application>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;
},