跟xib加载差不多
UIStoryboard*sb = [UIStoryboardstoryboardWithName:storyboard的名字bundle:nil];
UIViewController * vc = [sb instantiateInitialViewController];
跟xib加载差不多
UIStoryboard*sb = [UIStoryboardstoryboardWithName:storyboard的名字bundle:nil];
UIViewController * vc = [sb instantiateInitialViewController];
本文标题:iOS 中使用storyboard创建的视图加载到代码中
本文链接:https://www.haomeiwen.com/subject/pwzbsttx.html
网友评论