标签:
‘-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "XXXView" nib but the view outlet was not set.‘
nib没有和vc链接上,修改:
1, 在nib文件上,点击"File‘s Owner", 按command+4,设置Class为xxxViewControler
2, 按Control+"Files‘s Owner", 里面有个默认的IBOutlet变量view, 看一下后面有没有做关联,如果没有就拉到下面的View和视图做个关联
loaded the "XXXView" nib but the view outlet was not set 解决方案
标签:
原文地址:http://www.cnblogs.com/envyhappy/p/5016371.html