码迷,mamicode.com
首页 > 其他好文 > 详细

loaded the "ViewController" nib but the view outlet was not set. 处理方式

时间:2015-09-08 15:19:19      阅读:170      评论:0      收藏:0      [点我收藏+]

标签:

报错:

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进行连接

技术分享

loaded the "ViewController" nib but the view outlet was not set. 处理方式

标签:

原文地址:http://www.cnblogs.com/JerryBaxia/p/4791470.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!