loaded the "BlueView" nib but the view outlet was not set 错误的解决办法。
2017-01-20 11:19
344 查看
一般这种情况是创建文件的忘记同时创建xib文件, 后来又单独给文件关联xib文件, 但是关联不正确出现的问题
今天在做练习创建多个视图程序的时候,老是出现下面这样的错误:
p.p1 {margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo}
'-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "BlueView" nib but the view outlet was not set.'
查书才知道,没有做nib文件到xxxViewControler程序的关联,特此记录下来:
1, 打开nib文件
2, 点击"File's Owner", 按command+4,设置Class为xxxViewControler
3, 按Control+"Files's Owner", 里面有个默认的IBOutlet变量view, 看一下后面有没有做关联,如果没有就拉到下面的View和视图做个关联
转载自:http://blog.csdn.net/leonpengweicn/article/details/6022616
今天在做练习创建多个视图程序的时候,老是出现下面这样的错误:
p.p1 {margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo}
'-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "BlueView" nib but the view outlet was not set.'
查书才知道,没有做nib文件到xxxViewControler程序的关联,特此记录下来:
1, 打开nib文件
2, 点击"File's Owner", 按command+4,设置Class为xxxViewControler
3, 按Control+"Files's Owner", 里面有个默认的IBOutlet变量view, 看一下后面有没有做关联,如果没有就拉到下面的View和视图做个关联
转载自:http://blog.csdn.net/leonpengweicn/article/details/6022616
相关文章推荐
- loaded the "BlueView" nib but the view outlet was not set 错误的解决办法。
- loaded the "BlueView" nib but the view outlet was not set 错误的解决办法
- loaded the "BlueView" nib but the view outlet was not set 错误的解决办法。
- loaded the "BlueView" nib but the view outlet was not set 错误的解决办法。
- loaded the "BlueView" nib but the view outlet was not set 错误的解决办法。
- loaded the "xxx" nib but the view outlet was not set 错误的解决办法。
- loadedthe "xxx" nib but the view outlet was not set错误的解决办法。
- loaded the "xxx" nib but the view outlet was not set 错误的解决办法。
- iPhone 自检工程错误解决方法:loaded the "MyView" nib but the view outlet was not set
- IOS loaded the "XXXXXView" nib but the view outlet was not set.' 解决办法
- loaded the "*****" nib but the view outlet was not set 错误的解决办法。
- iOS开发出现的错误:loaded the "VCRoot" nib but the view outlet was not set.'
- 问题:-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "BlueView" nib but the view outlet was not set.
- 问题:-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "BlueView" nib but the view outlet was not set.
- loaded the "controller" nib but the view outlet was not set.问题解决
- loaded the "XXXView" nib but the view outlet was not set 解决方案
- xcode "nib but the view outlet was not set."错误
- loaded the "xxx" nib but the view outlet was not set.
- 当Xib文件删掉之后,解决报错信息:NSInternalInconsistencyException loaded xxx nib but the view outlet was not set.
- iOS开发 xib错误 One" nib but the view outlet was not set