loaded the "XXXView" nib but the view outlet was not set 解决方案
2014-06-06 17:30
567 查看
'-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "XXXView" 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.sina.com.cn/s/blog_8f38d3410101a1rb.html
查书才知道,没有做nib文件到xxxViewControler程序的关联,特此记录下来:
1, 打开nib文件
2, 点击"File's Owner", 按command+4,设置Class为xxxViewControler
3, 按Control+"Files's Owner", 里面有个默认的IBOutlet变量view, 看一下后面有没有做关联,如果没有就拉到下面的View和视图做个关联
原文地址;http://blog.sina.com.cn/s/blog_8f38d3410101a1rb.html
相关文章推荐
- loaded the "XXXView" nib but the view outlet was not set 解决方案
- loaded the "XXXView" nib but the view outlet was not set 解决方案
- loaded the "XXXView" nib but the view outlet was not set 解决方案
- iOS reason: loaded the "XXX.xib" nib but the view outlet was not set.'
- loaded the "xxx" nib but the view outlet was not set 错误的解决办法。
- loaded the "xxxViewController" nib but the view outlet was not set.'
- loaded the "xxx" 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 "BlueView" nib but the view outlet was not set 错误的解决办法。
- loaded the "FirstViewController" nib but the view outlet was not set.'
- iPhone 自检工程错误解决方法:loaded the "MyView" nib but the view outlet was not set
- loaded the "BlueView" nib but the view outlet was not set 错误的解决办法。
- UIViewController _loadViewFromNibNamed:bundle:] loaded the "loc" nib but the view outlet was not set
- loaded the "***" nib but the view outlet was not set
- loaded the "BlueView" nib but the view outlet was not set 错误的解决办法
- iOS开发出现的错误:loaded the "VCRoot" nib but the view outlet was not set.'
- IOS loaded the "XXXXXView" nib but the view outlet was not set.' 解决办法
- loaded the "BlueView" nib but the view outlet was not set 错误的解决办法。
- loaded the "ViewController" nib but the view outlet was not set. 处理方式