3

I have duplicated this on both Xcode 6 - beta 2 AND Xcode 5 on a different machine. Surely this can't be a bug as it is such a common task it would have been caught by now.

I drag a tab bar to a view controller. All good.

I drag an additional tab bar item to the tab bar. Not good. The tab bar becomes obscured by a grey box. The grey box stays visible when the app is built and run.

Has this happened to any of you? Any ideas?

Short screen recording to demonstrate: https://www.youtube.com/watch?v=r-iS-tmUmBM&feature=youtu.be!

Pictures:

BEFORE

AFTER

Justin Moore
  • 884
  • 2
  • 9
  • 22

2 Answers2

0

I ran into this issue on Xcode 5.1.1 on OS X 10.9.4. Was an annoying little bug and I hope this helps someone.

I was able to fix it by setting the image for each UITabBarItem.

dloomb
  • 1,952
  • 22
  • 26
0

This "bug" or whatever is causing this behavior only occurs if you have set the Tab Bar Item to custom and have no image set. It is automatically custom when you add a new one.

The other Tab Bar Items that are added with the predefined Tab Bar are standard items

If you set the image of the custom Tab Bar Item it will have the normal appearance again. I ran in the same problem with the Tab Bar Controller

I've no idea why this is happening I just hope it will magically disappear tomorrow...

tammon
  • 96
  • 1
  • 2