首页 > 其他 > 详细

问题:-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "BlueView" nib but the view outlet was not set.

时间:2015-11-13 20:34:30      阅读:315      评论:0      收藏:0      [点我收藏+]

问题:‘-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "One" nib but the view outlet was not set.‘

 

原因:没有做xib文件到HLOneViewControler程序的关联

解决步骤:

1, 打开xib文件

2, 点击"File‘s Owner",设置Class为xxxViewControler

3, 右键"Files‘s Owner", 里面有个默认的IBOutlet变量view, 看一下后面有没有做关联,如果没有就拉到下面的View和视图做个关联

 

参考:http://blog.csdn.net/leonpengweicn/article/details/6022616

问题:-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "BlueView" nib but the view outlet was not set.

原文:http://www.cnblogs.com/xuan52rock/p/4963094.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!