XCode 7: Launch screens may not set custom classnames

后端 未结 4 2122
终归单人心
终归单人心 2020-12-30 19:25

I created a simple application using Xcode 7 Beta 2. The application simply contains class MyAppDelegate, MyViewController, MyMain.storyBoard

4条回答
  •  余生分开走
    2020-12-30 20:12

    Go through your View Controllers in Main.storyboard and make sure you don't have one that is both set to a custom class:

    and has "Is Initial View Controller" checked:

    You can only do one or the other. Somehow I had "Is Initial View Controller" still checked by mistake, and it took me a while to hunt that down!

提交回复
热议问题