Search code examples
interface-builderstoryboardios7xcode5

Tab bar icon too large in Xcode 5


I have a problem with the Tab Bar. After two days I opened my Xcode and icons Tab Bar have widened.

I have tried to delete and insert a new TabBar Controller but it did not solve the problem. I have also created a new project but it has the same problem. This problem is also reflected in the simulator.

Is there a way to fix this?

Screenshot of my TabBar Controller


Solution

  • Those sizes look about right according to the new Human Interface Guidelines. I'm guessing the Xcode placeholder view just defaults to the maximum possible size icon (96x64 retina). If you just resize your icon images appropriately and set the itemPositioning, itemWidth and itemSpacing to the values you want, it shouldn't be a problem.