程序运行崩溃, 提示: Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "registerViewController" nib but the view outlet was not set.'
程序运行崩溃, 提示: Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "registerViewController" nib but the view outlet was not set.'
这种情况是file's Owner和viewcontorller没有绑定,解决办法可以参考http://www.cnblogs.com/wangbaixue/p/5311...
1 回答837 阅读
2 回答633 阅读
1 回答621 阅读
2 回答626 阅读
1 回答709 阅读
649 阅读
这个提示已经说的很清楚了, 肯定是你注册的nib 不对, 仔细检查检查