xcode新建的項目有SceneDelegate 但是可以刪除,變成以前熟悉的工程
1、直接刪除SceneDelegate.m和SceneDelegate.h
2、在AppDelegate.h 中添加@property (strong, nonatomic) UIWindow *window ;
3、刪除AppDelegate.m 中有關SceneDelegate相關的

iShot2021-05-14 15.18.12.png
xcode新建的項目有SceneDelegate 但是可以刪除,變成以前熟悉的工程
1、直接刪除SceneDelegate.m和SceneDelegate.h
2、在AppDelegate.h 中添加@property (strong, nonatomic) UIWindow *window ;
3、刪除AppDelegate.m 中有關SceneDelegate相關的