Storyboard uiviewcontroller, 'custom class' not showing in drop down

后端 未结 25 1188
北荒
北荒 2020-12-08 01:34

I have a UIViewController I created in my apps storyboard, as well as a custom UIViewController subclass which I added to the project (and is correctly in the compile phase

25条回答
  •  自闭症患者
    2020-12-08 02:27

    for my case, somehow bundle resources got deleted, so I added back and worked!

    Build Phases -> Add Build Phase -> Copy Bundle Resources find your file Then drag and drop your file there

    Then make sure your target membership is checked.

提交回复
热议问题