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

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

    In my case, I drag a new TableViewController object to the storyboard, but I add a new file which's subclass is "UIViewController".... Then, I add a file which's subclass is "UITableViewController", problem solved!!

提交回复
热议问题