Only image as UITabBarItem

后端 未结 9 2174
伪装坚强ぢ
伪装坚强ぢ 2021-02-01 05:29

I would only like to have an icon as the UITabBarItem and not the text underneath and I was wondering if this was possible, if so, how? TIA

9条回答
  •  萌比男神i
    2021-02-01 05:31

    If you use story board, maybe you can use Image Inset from size inspector of bar item and set title to empty at the same time:

    enter image description here

提交回复
热议问题