self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.window.backgroundColor = [UIColor redColor];
[self.window setRootViewController:[[UIViewController alloc]init]];
[self.window makeKeyAndVisible];
我是這樣解決的,不知道對不對,反正能運行起來。
self.window.backgroundColor = [UIColor redColor];
[self.window setRootViewController:[[UIViewController alloc]init]];
[self.window makeKeyAndVisible];
我是這樣解決的,不知道對不對,反正能運行起來。
2015-10-20