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

后端 未结 10 1730
臣服心动
臣服心动 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:24

    Make sure you have the following property declaration in your AppDelegate class:

    var window: UIWindow?
    

提交回复
热议问题