search

Home  >  Q&A  >  body text

Objective-c - How to modify the height of the icon on tabbaritem? ? ?

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? ? ? ?

我想大声告诉你我想大声告诉你2839 days ago668

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2017-05-02 09:36:30

    Easy way:

    [tabbarItem setImageInsets:UIEdgeInsetsMake(<#CGFloat top#>, <#CGFloat left#>, <#CGFloat bottom#>, <#CGFloat right#>)];

    reply
    0
  • Cancelreply