1.
SceneDelegate
在Xcode11.0以后创建项目,运行项目出现bug时遇到的问题之一,我的解决方法。
报错:
-[AppDelegate setWindow:]: unrecognized selector sent to instance 0x60000002b440
1
修改方法:
在AppDelegate.h里加声明window
@property (nonatomic, strong) UIWindow * window;
1.
SceneDelegate
在Xcode11.0以后创建项目,运行项目出现bug时遇到的问题之一,我的解决方法。
报错:
-[AppDelegate setWindow:]: unrecognized selector sent to instance 0x60000002b440
1
修改方法:
在AppDelegate.h里加声明window
@property (nonatomic, strong) UIWindow * window;
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。