XCode 6 Tab Bar tabs greyed out

匿名 (未验证) 提交于 2019-12-03 01:18:02

问题:

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.

回答1:

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.



回答2:

Setting an image for the Tab Bar Items and restarting xcode fixed it for me.



回答3:

In the assets folder (or wherever your image is kept), set 'Render as' to Original image



回答4:

It looks like this was a bug in the XCode UI. This has been fixed in later versions of XCode.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!