mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-18 22:01:42 +08:00
updated iOS Kimera Cuteness
This commit is contained in:
@ -58,9 +58,9 @@ export module tk {
|
|||||||
|
|
||||||
this.window = new UIKit.UIWindow(UIKit.UIScreen.mainScreen().bounds);
|
this.window = new UIKit.UIWindow(UIKit.UIScreen.mainScreen().bounds);
|
||||||
this.window.backgroundColor = UIKit.UIColor.whiteColor();
|
this.window.backgroundColor = UIKit.UIColor.whiteColor();
|
||||||
|
this.window.makeKeyAndVisible();
|
||||||
|
|
||||||
var iosApp = <Application>currentApp.ios;
|
var iosApp = <Application>currentApp.ios;
|
||||||
//this.window.setRootViewController(iosApp.rootController);
|
|
||||||
|
|
||||||
if (currentApp.onLaunch) {
|
if (currentApp.onLaunch) {
|
||||||
this.window.rootViewController = currentApp.onLaunch();
|
this.window.rootViewController = currentApp.onLaunch();
|
||||||
@ -68,8 +68,6 @@ export module tk {
|
|||||||
log("Missing TK.UI.Application.current.onLaunch");
|
log("Missing TK.UI.Application.current.onLaunch");
|
||||||
}
|
}
|
||||||
|
|
||||||
this.window.makeKeyAndVisible();
|
|
||||||
|
|
||||||
log("applicationDidFinishLaunchingWithOptions finished.");
|
log("applicationDidFinishLaunchingWithOptions finished.");
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user