Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 XCode 4,搭配 iPhone iOS 4.2
大家好,我正在为我要完成的新应用程序使用 tabBar 界面。我已经声明了 UILabel,一旦我在界面构建器中将它们连接到实际标签,整个应用程序将在运行时、模拟器和我的 iPhone 上选择其选项卡时崩溃。
我希望那里有一个非常简单的答案,但我真的不知道在哪里看(我是新手)。
提前致谢,
通常,当您更改变量的名称但没有更新 IB 中的挂钩时,就会发生这种情况。我通常做的一个简单的解决方法是解开 IB 中的所有内容,然后再次将它们重新连接。