XCode 6 Tab Bar tabs greyed out

后端 未结 4 1712
礼貌的吻别
礼貌的吻别 2020-12-19 08:27

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

相关标签:
4条回答
  • 2020-12-19 09:12

    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.

    0 讨论(0)
  • 2020-12-19 09:13

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

    0 讨论(0)
  • 2020-12-19 09:20

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

    0 讨论(0)
  • 2020-12-19 09:22

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

    0 讨论(0)
提交回复
热议问题