1.先直接删除SceneDelegate.h和.m这两个文件。
2.在AppDelegate.h添加@property (strong, nonatomic) UIWindow * window;属性。

3.在AppDelegate.m 中移除UIScene代理。简洁后如图;

4.在info.plist文件中移除Application Scene Manifest。如果图

1.先直接删除SceneDelegate.h和.m这两个文件。
2.在AppDelegate.h添加@property (strong, nonatomic) UIWindow * window;属性。
3.在AppDelegate.m 中移除UIScene代理。简洁后如图;
4.在info.plist文件中移除Application Scene Manifest。如果图
本文标题:iOS 去掉SceneDelegate
本文链接:https://www.haomeiwen.com/subject/umjheltx.html
网友评论