admin管理员组

文章数量:1636809

运行在模拟器上的时候没有问题,运行在真机上就会报错:

The app delegate must implement the window property if it wants to use

按着提示来,加上window 属性。

第一步:在AppDelegate.h文件加上

@property(nonatomic,strong)UIWindow* window;

第二步:在AppDelegate.m文件加上

@synthesize window = _window;

问题解决。

本文标签: 报错appiosdelegateProperty