1.去掉storyboard文件
LaunchScreen.storyboard
main.storyboard
2.Info.plist
删除Main storyboard file base name
删除Launch screen interface file base name
3.Targets-General-Deployment Info
Main Interface留空
Launch Screen File留空
4.在AppDelegate中添加代码
- (BOOL)application:(UIApplication )application didFinishLaunchingWithOptions:(NSDictionary )launchOptions {
// Override point for customization after application launch.
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.window.rootViewController = [[ViewController alloc] init];
[self.window makeKeyAndVisible];
return YES;
}