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

后端 未结 25 1278
北荒
北荒 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:21

    For those of you who are still having this problem after trying all the way around is probably because you clicked the View instead of ViewController.

    You have to choose the file when ViewController is clicked.

    This solved my problem.

提交回复
热议问题