0
我有两个UITextFields在应用程序作为IBOutlets,我已经从文件的所有者连接到这些...当我运行构建和去,iPhone模拟器崩溃。 ..并在控制台(后调试)...它表示接着我......试图与UITextField运行一个简单的应用程序 - 模拟器崩溃
2009-08-22 18:11:40.869 Control_Fun[1138:20b] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "Control_FunViewController" nib but the view outlet was not set.'
不过,我没有明确定义为视图中的任意插座(IBOutlet中)...这是什么隐藏?当我控制单击文件的所有者,并将其拖动到UITextFields,它给我的灰色弹出菜单中的三个选项连接到
1. nameField (declared as IBOutlet property in the header file)
2. numberField (declared as IBOutlet property in the header file)
3. view (where is this coming from?)
感谢