Multiline label in UIStackView

后端 未结 21 2848
有刺的猬
有刺的猬 2020-12-02 04:30

When putting multiline label (with linebreak set to Word Wrap) into a stack view, the label immediately loses the linebreak and displays the label text in one line instead.<

21条回答
  •  一整个雨季
    2020-12-02 05:12

    For anyone who still cannot make it work. Try to set Autoshrink with a minimum Font Scale on that UILabel.

    Screenshot UILabel Autoshrink settings

提交回复
热议问题