Is it possible to change the width of UITabbarItem in UITabbar and margins between each UITabbarItem for iPad Application?
The problem is that standard margins are too large for my layout - client want tabs to be more compact :/
Or should I mess with UIToolbar to achieve this goal?
You cannot change the width of the the UITabBarItem
, and you cannot do this even after subclassing the UITabBarItem. Apple has certain restrictions in the way they want the developers to implement the applications.
You will need to use a UIToolBar
for this, and my best bet is for you to go to github
and as there a lot of sample applications which use a scrollable UIToolBar at the bottom instead of the UITabBar
.