The app delegate must implement the window property if it wants to use a main storyboard file swift

后端 未结 10 1733
臣服心动
臣服心动 2020-12-07 17:27

I have just developed an app, but when running in the simulator the debugger console says:

The app delegate must implement the window property if it w

10条回答
  •  醉话见心
    2020-12-07 18:17

    Just in case anyone comes across this again and is programming in Objective-C make sure you have this line of code in your AppDelegate.h file:

    @property (strong, nonatomic) UIWindow *window;
    

提交回复
热议问题