第42月第25天 SceneDelegate:[AppDelegate setWindow:]: unrecognized selector sent to instance 0x60000002b440

时间:2020-03-25 15:59:01   收藏:0   阅读:491

1.

SceneDelegate
在Xcode11.0以后创建项目,运行项目出现bug时遇到的问题之一,我的解决方法。
报错:

-[AppDelegate setWindow:]: unrecognized selector sent to instance 0x60000002b440
1
修改方法:
在AppDelegate.h里加声明window

@property (nonatomic, strong) UIWindow * window;


https://blog.csdn.net/u010713935/article/details/104754971

原文:https://www.cnblogs.com/javastart/p/12566350.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!