程序运行崩溃, 提示: Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "registerViewController" nib but the view outlet was not set.'
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
这个提示已经说的很清楚了, 肯定是你注册的nib 不对, 仔细检查检查
这种情况是file's Owner和viewcontorller没有绑定,解决办法可以参考http://www.cnblogs.com/wangbaixue/p/5311...