swift - xcode 6 中的选项卡栏 Controller 灰色框

标签 swift uitabbarcontroller xcode6

谁能告诉我为什么这些灰色框出现在我的标签栏 Controller 中?不久前我看到了虚拟标签栏图标,但现在它们只是灰色框。

enter image description here

最佳答案

重新启动 Xсode 后,

再次添加图像到您的Tab Bar Item

当您为每个 Tab Bar Item 设置图像时,Tab Bar 将正常显示。

这对我有用。这似乎是唯一的解决方案。

Image to tab bar item

关于swift - xcode 6 中的选项卡栏 Controller 灰色框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27254058/

相关文章:

swift - 在 swift : Met error about parentheses type writing sqrt

ios - 选择前预加载表格 View 数据

ios8 - 如何下载 WatchKit?

ios - 在 swift2 中,UIPageviewController 页面 curl 动画在快速滑动时挂起/卡住

swift - 协议(protocol)扩展破坏了编译器

json - 将复杂 JSON 中的每个值提取到 Swift 中的数组中

swift - 了解 for-in 循环

ios - 如何从标签栏打开相机?

objective-c - 使用 UITabBarController 从 PresentingViewController 调用方法

swift - "Constrain to margins"在 Xcode 6.0.1 的 Interface Builder 中意味着什么