Target -->Info 删除 Main storyboard na me
AppDelegate didFinishLaunchingWithOptions方法中
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
[self.window makeKeyAndVisible];
注意 self.winow .rootViewController一定要赋值,否则报错
Target -->Info 删除 Main storyboard na me
AppDelegate didFinishLaunchingWithOptions方法中
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
[self.window makeKeyAndVisible];
注意 self.winow .rootViewController一定要赋值,否则报错
本文标题:iOS 删除Main.storyboard后黑屏问题
本文链接:https://www.haomeiwen.com/subject/kzdtrxtx.html
网友评论