Objective-c - How to modify the height of the icon on tabbaritem? ? ?
我想大声告诉你
我想大声告诉你 2017-05-02 09:34:30
0
1
701

The height of the tabbar has been modified, but how to adjust the height of the icon of the tabaritem, because the text is not displayed, as shown in the picture. Can I only use the view to customize the tabbar? ? ? ?

我想大声告诉你
我想大声告诉你

reply all(1)
Peter_Zhu

Easy way:

[tabbarItem setImageInsets:UIEdgeInsetsMake(<#CGFloat top#>, <#CGFloat left#>, <#CGFloat bottom#>, <#CGFloat right#>)];
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template