崩溃导航视图时

时间:2016-07-08 11:58:26

标签: ios

当我导航到另一个视图它完美导航..如果再次返回原始视图当我再次点击按钮导航我得到了崩溃...我不明白什么是问题任何一个帮助解决这个问题问题     在此先感谢

TorunamentVC*TETS = [[TorunamentVC alloc]init];
TETS =  (TorunamentVC*)[self.storyboard instantiateViewControllerWithIdentifier:@"tornmentid"];
TETS.selectDashBoard=selectType;
[self.navigationController pushViewController:TETS animated:YES];
  

*由于未捕获的异常'NSInternalInconsistencyException'而终止应用程序,原因:'无法在bundle中加载NIB:'NSBundle(已加载)',名称为'BYZ-38-t0r-view-8bC-Xf-vdC'和目录'Main.storyboardc''           * 首先抛出调用堆栈:

1 个答案:

答案 0 :(得分:0)

TorunamentVC*TETS = [self.storyboard instantiateViewControllerWithIdentifier:@"tornmentid"];
TETS.selectDashBoard=selectType;
[self.navigationController pushViewController:TETS animated:YES];

试试这个