iOS reason: loaded the "XXX.xib" nib but the view outlet was not set.'
来源:互联网 发布:我的世界自定义画js 编辑:程序博客网 时间:2024/05/18 03:21
原因:
没有做nib文件到xxxViewControler程序的关联。
解决办法:
1, 打开nib文件
2, 点击"File's Owner", 按command+4,设置Class为xxxViewControler
3, 按Control+"Files's Owner", 里面有个默认的IBOutlet变量view, 看一下后面有没有做关联,如果没有就拉到下面的View和视图做个关联
2 》还有可能是xcode的问题,xcode本身自带记忆功能,可能你已经修改,或者删除,但是xcode无法识别,继续用默认的,所以出上面方法以外,可以重新建立xib 并且给予不同view名字。
0 0
- iOS reason: loaded the "XXX.xib" nib but the view outlet was not set.'
- 【iOS】iOS/Xcode异常:reason:loaded the “SimpleTableViewController” nib but the view outlet was not set
- 【iOSiOS/Xcode异常:reason:loaded the “SimpleTableViewController” nib but the view outlet was not set
- loaded the "***" nib but the view outlet was not set
- loaded the nib but the view outlet was not set
- 当Xib文件删掉之后,解决报错信息:NSInternalInconsistencyException loaded xxx nib but the view outlet was not set.
- 当Xib文件删掉之后,解决报错信息:NSInternalInconsistencyException loaded xxx nib but the view outlet was not set.
- loaded some nib but the view outlet was not set
- loaded the nib but view outlet was not set
- loaded some nib but the view outlet was not set
- loaded 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 错误的解决办法。
- loaded the "xxx" nib but the view outlet was not set 错误的解决办法。
- IOS loaded the "XXXXXView" nib but the view outlet was not set.' 解决办法
- iOS开发出现的错误:loaded the "VCRoot" nib but the view outlet was not set.'
- ios开发 loaded the "ViewController" nib but the view outlet was not set.'
- [UIViewController _loadViewFromNibNamed:bundle:] loaded the "XXX.xib" nib but the view outlet was no
- 青蛙过河
- TCP/IP协议族(五)
- Linux Shell程序
- 百度杯ctf2月场web-include
- 语音学习笔记11------卷积神经网络CNN一些重点知识
- iOS reason: loaded the "XXX.xib" nib but the view outlet was not set.'
- html语义化
- mui 右滑返回不起作用
- codevs天梯 最大全0子矩阵
- JavaScript 实现各种小游戏源码 !js贪吃蛇源码
- python中函数参数的引用和传值
- JZOJ 3639 COCI2013 odasiljaci
- Android 一张图理解getWidth和getMeasuredWidth
- Spring源码学习--ApplicationContext(十二)