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

后端 未结 25 1264
北荒
北荒 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

    Make sure you select View Controller to which you want to attach your class. The easy way is open Document Outline and choose your view controller (When you tap on it form the Storyboard sometimes it simply doesn't choose the object you meant).

提交回复
热议问题