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

前端 未结 1 572
故里飘歌
故里飘歌 2021-01-04 04:13

I\'m programmatically implement a list view controller. When I try to run the project, I got error:

2012-11-07 22:46:34.719 myTableViewControl[12021:c07] The         


        
1条回答
  •  被撕碎了的回忆
    2021-01-04 04:35

    You are creating your window as a local variable and then trying to access it as if it were a property by using self.window. Make it a property.

    0 讨论(0)
提交回复
热议问题