Search code examples
iosxcodeipaduitabbaruitabbaritem

Max Width of UITabbarItem on iPad?


what's the maximal width of each item on iPAD e.g. on 5 items. I know on iPad is on left and right corner some space, but how big is width on each item? (On iPHone it's easy to calculate..but how is it on iPad?


Solution

  • It's a screen shot from new Mobile HIG(Human Interface Guidelines). From this, you can get the size of the tabbar icon. It is approximate only. But you can have this as a reference and calculate the width depend on the number of items. For your 5 items,

    In iPad standard, its 30 * 5 = 150 px

    In iPad retina, its 60 * 5 = 300 px

    enter image description here