2012-07-21 10:21:24.523 Control Fun[1237:f803] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "ViewController" nib but the view outlet was not set.'
*** First throw call stack:
(0x13c9022 0x155acd6 0x1371a48 0x13719b9 0xda2dd 0xda779 0xda99b 0x39401 0x39670 0x39836 0xc881dd8 0x4072a 0x22eb 0x11386 0x12274 0x21183 0x21c38 0x15634 0x12b3ef5 0x139d195 0x1301ff2 0x13008da 0x12ffd84 0x12ffc9b 0x11c65 0x13626 0x1ff2 0x1f65)
terminate called throwing an exception(lldb)
*** First throw call stack:
(0x13c9022 0x155acd6 0x1371a48 0x13719b9 0xda2dd 0xda779 0xda99b 0x39401 0x39670 0x39836 0xc881dd8 0x4072a 0x22eb 0x11386 0x12274 0x21183 0x21c38 0x15634 0x12b3ef5 0x139d195 0x1301ff2 0x13008da 0x12ffd84 0x12ffc9b 0x11c65 0x13626 0x1ff2 0x1f65)
terminate called throwing an exception(lldb)
解决方案 »
- 横屏后 右半边按钮就点不了!
- why NSNumber didn't show correct number
- IPAD开发navigationController的一个问题
- Objective-C编程之道iOS设计模式子类化单例疑惑
- IOS 如何调用其他应用程序打开我下载好了的 EXCEL WORD PDF 等
- IOS开发,想要获取ap热点的信号强度
- 关于几个ControlView的连接问题
- 苹果UIwebView内嵌网页上js的history.back()不好用
- NNStrnig转NSData的时候为nil
- app上架被拒问题
- 求助,企业账号申请(邓白氏编码)
- 那位大深帮忙解决一下iphong编程时出错了,这是哪儿出错了怎么解决 啊
例如:
UITableViewCell *cell = [[[NSBundle mainBundle] loadNib:@"XXX"] objectAtIndex:YYY];
1、XXX不需要填写后缀。
2、YYY表示.xib里面的view序号,如果是一个,通常用lastObject就可以。
3、确定你的.xib里的view是UITableViewCell?