Swift - UIButton with two lines of text

前端 未结 10 1655
离开以前
离开以前 2020-11-30 23:38

I was wondering if it is possible to create a UIButton with two lines of text. I need each line to have a different font size. The first line will be 17 point and the seco

10条回答
  •  無奈伤痛
    2020-12-01 00:33

    change line break to character wrap , select your button and in attribute inspector go to line break and change it to character wrap

    enter image description here

提交回复
热议问题