草庐IT

ios - 从 Storyboard中的 UIViewController 加载 UIView 不起作用

我正在尝试从Storyboard中的UIViewController加载UIView,而无需segue。我创建了UIViewcontroller,布置了所有内容,将其与特定类连接并设置了一个StoryboardID。我还将元素连接到我的类的h.file,现在我正在寻找一种方法来初始化此UIViewController的subview而无需一个segue。我一直在搜索并找到了很多以这种方式加载UIViewController的帖子:UIStoryboard*storyboard=[UIStoryboardstoryboardWithName:@"Main_iPhone"bundle:ni