1 刪除main 和相關(guān)文件葵蒂。
2 OC ?delegate 中
self.window =[ [UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
[[self.window setBackgroundColor:[UIColor whiteColor]];
[self.window makeKeyAndVisible];
[self.window setRootViewController:[[UIViewController alloc] init];