How to do multiline UILabel in ios?

前端 未结 4 1704
抹茶落季
抹茶落季 2021-02-01 02:33

I\'m dynamically populating the title (UILabel). Sometime it\'s bit too long and IOS squeeze the font to fit in the width. Is there a way to do multiline with using same font si

4条回答
  •  野的像风
    2021-02-01 03:03

    I just used LineBreak mode to Truncate Tail and setNumberOfLines to 0 and its working for me. the label is of multiline now.

提交回复
热议问题