从storyboard加载视图控制器

storyboardWithName:@"MainStoryboard" bundle:nil];  

ViewController *Controller = [mainStoryboard instantiateViewControllerWithIdentifier:@"ViewController"];it


MainStoryboard是故事板的文件名。ViewController是你的视图控制类在故事板你面的标示,他和你的ViewController 是绑定的,我这边名字同样。
文件