用代码创建并实例化在storyboard中声明的ViewController

// 从storyboard创建MainViewController UIStoryboard* storyboard = [UIStoryboard storyboardWithName:@“Main” bundle:[NSBundle mainBundle]]; YLSMainViewController mainViewController = (YLSMainViewController)
相关文章
相关标签/搜索