Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode tab bar items are not visible in storyboard

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

like image 448
Brian Kalski Avatar asked Jan 08 '15 05:01

Brian Kalski


1 Answers

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.

like image 145
Andrej Avatar answered Oct 02 '22 05:10

Andrej