0

I want to set my UIBarButtonItem.title underneath the UIBarButton image.

enter image description here

I tried using :

myBarButton.setTitlePositionAdjustment(UIOffset(horizontal: 5,vertical: -5), for: UIBarMetrics.default)

the text doesn't show though. Any ideas? It is not possible for me to integrate UITabBar just in case this is your answer.

JVS
  • 2,592
  • 3
  • 19
  • 31

1 Answers1

1

You can adjust your button's title and image with "Size Inspector". Size inspector found in "utilities area".

enter image description here

Bijender Singh Shekhawat
  • 3,934
  • 2
  • 30
  • 36