您的位置:首页 > 产品设计 > UI/UE

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

2016-08-29 18:05 411 查看

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

问题:‘-[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和视图做个关联
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐