InterfaceBuilder - UIViewController subclass not recognized as subclass

前端 未结 4 1281
無奈伤痛
無奈伤痛 2021-01-15 12:25

I\'m working on a simple iPhone app.

I have 1 UINavigationController and 2 subclasses of UIViewController.

I have a MainWindow.xib file, a PersonListView.xib

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-15 13:10

    Changing the name of the xib has absolutely no effect on the contents of that xib. You have to change the class name in the Info panel if you want to change what subclass you're using.

提交回复
热议问题