mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fixed iOS BCL to use properties instead of methods.
Fixed web_client to call .toString() on NSString Fixed BCL project to use version 1.0
This commit is contained in:
@@ -56,14 +56,14 @@ export module tk {
|
||||
applicationDidFinishLaunchingWithOptions: function () {
|
||||
log("Application launched: applicationDidFinishLaunchingWithOptions.");
|
||||
|
||||
this.window = new UIKit.UIWindow(UIKit.UIScreen.mainScreen().bounds());
|
||||
this.window.setBackgroundColor(UIKit.UIColor.whiteColor());
|
||||
this.window = new UIKit.UIWindow(UIKit.UIScreen.mainScreen().bounds);
|
||||
this.window.backgroundColor = UIKit.UIColor.whiteColor();
|
||||
|
||||
var iosApp = <Application>currentApp.ios;
|
||||
//this.window.setRootViewController(iosApp.rootController);
|
||||
|
||||
if (currentApp.onLaunch) {
|
||||
this.window.setRootViewController(currentApp.onLaunch());
|
||||
this.window.rootViewController = currentApp.onLaunch();
|
||||
} else {
|
||||
log("Missing TK.UI.Application.current.onLaunch");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user