XCode 6 Tab Bar 选项卡变灰 [英] XCode 6 Tab Bar tabs greyed out

查看:32
本文介绍了XCode 6 Tab Bar 选项卡变灰的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何时候我向 XCode 添加标签栏控制器时,标签栏都会变灰,而且我看不到故事板中的任何标签.在运行时它显示良好.我不明白为什么会这样.

Anytime I add a tab bar controller to XCode the tab bar is greyed out and I can't see any of the tabs in the storyboard. At runtime it displays fine. I can't figure out why it is happening.

推荐答案

将图像添加到 Tab Bar Item,您将在您所在的特定 View Controller 上看到 Tab Bar 的正常视图改变了它.当每个 Tab Bar Item 都有图像时,您还会在 Tab Bar Controller 中看到正常的外观.

Add an image to the Tab Bar Item and you will see the normal view of the tab bar on the specific View Controller where you changed it. When every single Tab Bar Item got an image you will also see the normal appearance in your Tab Bar Controller.

这篇关于XCode 6 Tab Bar 选项卡变灰的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆