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

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

    What worked for me was, click on the file in the Project Navigator, then, in the File Inspector under "Identity and Type" beneath the "Location" dropdown box, click on the little folder icon and then select the file in the popup window.

提交回复
热议问题