如何在故事板中加载自定义视图?

时间:2012-06-14 07:39:41

标签: ios uiviewcontroller storyboard

我用storyboard创建了一个新项目,我想在uiviewcontroller中加载一个自定义视图(无xib),我引用了Creating a View Programmatically,但它不起作用。非常感谢!

1 个答案:

答案 0 :(得分:1)

根据我的理解,我认为您正在尝试在故事板中加载带有xib文件的自定义视图。 以下是moving the screen one to two and showing the views.

的示例代码
相关问题