获取storyBoard中的ViewController

MainController * _mainController = [[UIStoryboard storyboardWithName:@"Main" bundle:nil] instantiateViewControllerWithIdentifier:@"MainTabBarController"];

//Main:storyBoard的名称“Main.storyBoard”

//MainTabBarController:在storyBoard中的标注的storyBoard Id

原文地址:https://www.cnblogs.com/guatiantian/p/4221375.html