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

猜你喜欢

转载自www.cnblogs.com/mamamia/p/12146013.html
今日推荐