报错:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "ViewController" nib but the view outlet was not set.'
原因是:
加载了一个ViewController视图,但是没有将相应的xib文件的View和Controller的View进行连接