其他分享
首页 > 其他分享> > The app delegate must implement the window property

The app delegate must implement the window property

作者:互联网

新建Xcode项目报错:

[Application] The app delegate must implement the window property if it wants to use a main storyboard file.

只需要在 AppDelegate.h 文件中加入 window 属性即可。

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (nonatomic, strong) UIWindow *window;

@end

标签:app,AppDelegate,window,delegate,property,must
来源: https://www.cnblogs.com/1lin24/p/14948963.html