Multiline Navigationbar Title

后端 未结 3 792
不知归路
不知归路 2020-12-03 18:03

I am trying to set the title label in my navigation bar to allow multiple lines. I have custom navigation controller code that I am placing the multiline code into. I know t

3条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-03 18:51

    This is doable in a storyboard. Just drag a UIView into the Navigation bar, then drag a UILabel onto it in the document outline, set lines to 2 and alignment to center.

提交回复
热议问题