Storyboard载入视图的方法:
UIStoryboard * storyboard = [UIStoryboardstoryboardWithName:@"User" bundle:nil]; //得到一个StoryBoard Object对象:类方法
id vc = [storyboardinstantiateViewControllerWithIdentifier:@"UserNav"]; // storyboard中相应标识对应的界面。如果identifier不存在或者为nil,引发异常。
更多关于StoryBoard的介绍:
参考文章:Storyboard类介绍