Adding storyboard to existing project

后端 未结 6 642
温柔的废话
温柔的废话 2021-01-31 04:49

I have created a project without support of storyboards, but later I have added a storyboard. Storyboard work well and i see it\'s contents when loading app in emulator.

6条回答
  •  有刺的猬
    2021-01-31 05:23

    I've found answer on my own question. It's very simple: I should open storyboard, select view controller (it's visual representation on storyboard), then go to identity inspector and replace class UIViewController to your controller class

提交回复
热议问题