loaded the "XXXView" nib but the view outlet was not set 解决方案
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了loaded the "XXXView" nib but the view outlet was not set 解决方案相关的知识,希望对你有一定的参考价值。
‘-[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和视图做个关联
以上是关于loaded the "XXXView" nib but the view outlet was not set 解决方案的主要内容,如果未能解决你的问题,请参考以下文章
IDA远程调试出现"The file can't be loaded by the debugger plugin."云云
-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "RootViewController" nib but
No symbol table is loaded. Use the "file" command.
Failed to load the JNI shared library "XXXXXXX"
启动Eclipse 弹出"Failed to load the JNI shared library jvm.dll"错误