1、删掉工程中main.storyboard 后要删除plist文件中对应的键值,否则会报如下错误: Could not find a storyboard named 'Main' in bundle NSBundle

Could not find a storyboard named 'Main' in bundle NSBundle

2、删除main.storyboard后,需要在AppDelegate.m中初始化一个window进行使用,否则应用程序没有window可用。

self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];

 

Could not find a storyboard named 'Main' in bundle NSBundle

相关文章:

  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2021-04-25
  • 2021-09-24
  • 2022-12-23
  • 2021-09-15
  • 2022-12-23
猜你喜欢
  • 2021-09-20
  • 2022-01-21
  • 2022-12-23
  • 2021-04-23
  • 2021-12-26
  • 2022-02-20
相关资源
相似解决方案