1

I'm building a tab bar where each tab bar item has a different size. Is there a way to subclass a UITabBar ? I read the documentation and it seems that UITabBars always UITabBarItems with the same size.

Can anyone confirm this ? What would be the neatest implementation of a custom UITabBar ?

BrainOverfl0w
  • 257
  • 1
  • 3
  • 13
  • 1
    Here is some links that might help. [Changing font size of tabbaritem](http://stackoverflow.com/questions/2576592/changing-font-size-of-tabbaritem) and [TabbarItem size and position](http://stackoverflow.com/questions/8729405/tabbaritem-size-and-position). The key is using `setTitleTextAttributes` – Chao Zhang Aug 21 '12 at 03:27
  • Got another [link](http://www.rumex.it/2010/07/how-to-customise-the-tab-bar-uitabbar-in-an-iphone-application-part-1-of-2/). It is an illustrated tutorial. – Chao Zhang Aug 21 '12 at 03:50
  • By the way, users might feel weird about UITabBar with items of different sizes. – Chao Zhang Aug 21 '12 at 03:51
  • It never changes the actual UITabBarItem's. Only their content – BrainOverfl0w Aug 21 '12 at 04:05

0 Answers0