加载“MainWindowController2”笔尖但未设置视图出口
我看到了有关此错误的问题。 但我相信我有一个新的。 我有一个在 iPad 和 iPhone 4 上运行的应用程序,但如果我在 iPhone 3gs 上运行它并切换到一个特定选项卡,它将崩溃并出现错误 “已加载“MainWindowController2”笔尖,但未设置视图出口。” 怎么可能它在一台设备上运行而在另一台设备上不运行呢?
I saw the questions about this error.
But i believe i have a new one.
i have an application that runs on iPad and iPhone 4, but if i run it on iphone 3gs and switch to one specific tab it will crash with error
"loaded the "MainWindowController2" nib but the view outlet was not set."
How can it be that it runs on one device and dont run on other device?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不知道为什么它会在一个设备上运行,而不是在另一个设备上运行,但当控制器上的视图出口未连接到 Interface Builder 中时,通常会产生该错误。在 IB 中加载 MainWindowController2 并确保视图出口已正确连接
Not sure why it would run on one device and not the other but that error is usually produced when the view outlet on the controller is not hooked up in Interface Builder. Load up the MainWindowController2 in the IB and make sure that the view outlet is hooked up correctly