Xcode tab bar items are not visible in storyboard
Asked Answered
S

2

10

I have a Tab Bar Controller in a storyboard and I want to rearrange the items but I can't see any of the items. When I run it they display without a problem but they aren't visible in the storyboard. I am using XCode 6.1.1. Has anyone run into this?

Tab bar with tabs missing

Spanker answered 8/1, 2015 at 5:45 Comment(5)
Same here. Most likely an Xcode bug.Peppie
@Brian Kalski i too facing same problem. Please let me know if u got somethingAlan
Yeah, me too. I was fiddling around with this and it turns out that you can actually drag it around by dragging invisible tabs. But I still want to see them and double click the name to edit them!!!Gunshot
I think it is a bug. If I open a new project and add a tab bar controller immediately I don't see it. It may be fixed in the newest XCode version.Spanker
I'm also facing this issue. It really looks like an Xcode bug, as in my case it also appears in a completely clean project, made just to test this feature. However it is not written in the "Known issues" for latest Xcode release. So I'm not sure if it's worth to file a bug report.Hexa
H
1

Figured it out. I was using "Custom" tab bar items. The image for my custom tab bar item was defined only for one tab. And in this case tab bar items were not shown in the main tab bar controller. After adding some temporary images to every tab bar item I'm able to see them correctly in the main tab bar controller.

Definitely an Xcode bug.

Hexa answered 22/2, 2016 at 14:32 Comment(0)
D
-1

I too ran into this problem for a moment and was able to overcome it by:

1) check any of the tab bar emblems (the destination emblems)

2) if there is a selected image, remove it

3) reload xcode

I don't know why this worked or why it was a problem in the first place, but I hope this helps.

Destructor answered 30/4, 2015 at 18:0 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.