Xcode11之后如何删除SceneDelegate
2022-07-08 本文已影响0人
笑看人生_44e2
虽然现在基本都会了,但长时间不开新项目又想不起来了,我还是记一下吧,脑子毕竟不好使了,进入正题,顺序部分先后,做完就行
1.将Info.plist -> Open As -> Source Code将划框的部分删除

2.将SceneDelegate .h .m 文件删除
3.将AppDelegate.m中的UISceneSession lifecycle注释掉或者删掉。

4在AppDelegate.h中加入@property (strong, nonatomic) UIWindow *window;

