- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
TestViewController *vc = [[TestViewController alloc] init];
self.window.rootViewController = vc;
vc.view.backgroundColor = [UIColor blueColor];
[self.window makeKeyAndVisible];
return YES;
}
网友评论