Rezwan
Rezwan

Reputation: 497

Is it possible to add a left bar button item with multiple lines of text

I would like to add a label in the left bar button item with multiple lines of text. the height of the navigation bar will be changed according to the height of the label.

enter image description here

Upvotes: 0

Views: 335

Answers (1)

RK93
RK93

Reputation: 41

  • You can add view in left bar button item and add label inside it and give the label constraints as you want to it's superview.
  • if you want to increase navigation bar height, You can add space in prompt like below image but you can't increase it throw navigationBar.frame, it doesn't work with me. enter image description here

Upvotes: 1

Related Questions