Set UILabel line spacing

后端 未结 10 1540
鱼传尺愫
鱼传尺愫 2020-11-27 10:47

How can I modify the gap between lines (line spacing) in a multiline UILabel?

10条回答
  •  一生所求
    2020-11-27 11:03

    This guy created a class to get line-height (without using CoreText, as MTLabel library) : https://github.com/LemonCake/MSLabel

提交回复
热议问题