用XCode11新建一个工程支持的最小iOS版本小于iOS13的话,XCode控制台会爆出[Application] The app delegate must implement the window property if it wants to use a main storyboard file.的提示。只需要两步就可以解决问题,

1.添加window属性

@property (nonatomic,strong) UIWindow *window;

XCode11中The app delegate must implement the window property if it wants to use 如何解决2.添加代码   

 @synthesize window = _window;

XCode11中The app delegate must implement the window property if it wants to use 如何解决

相关文章:

  • 2021-09-09
  • 2021-05-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-09
  • 2022-12-23
猜你喜欢
  • 2021-06-18
  • 2022-12-23
  • 2021-10-23
  • 2022-12-23
  • 2021-04-16
  • 2022-12-23
相关资源
相似解决方案