【ios入门】xcode 新建项目变化

使用了SceneDelegate

13以下黑屏。

1.去SceneDelegate 代码,写回原来的方式。

2.info.plist删掉相关配置。

3.appdelegate里去掉SceneDelegate相关方法。

4.需要将UIWindow window 添加回来。

#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property(nonatomic,strong) UIWindow* window;
@end

 

posted on 2020-01-03 17:31  wp7ers  阅读(115)  评论(0)    收藏  举报