Storyboard 跳转 崩溃

报错:(<UIStoryboard: 0x7fa9c3d72360>) doesn't contain a view controller with identifier 'UIViewController-76T-IN-z

原因:未知

解决方法:cmd+shift+k

 

从Storyboard中加载,视图控制器

UIStoryboard *story = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
    
UIViewController *vc = [story instantiateViewControllerWithIdentifier:@"tv"];

 

posted @ 2016-03-02 16:42  人生路1/5  阅读(548)  评论(0编辑  收藏  举报