How to create UILabel with clickable first word

后端 未结 4 1511
攒了一身酷
攒了一身酷 2020-12-20 18:28

I want to create label in iOS, can anyone help me to make the first word of the label\'s text bold and clickable. The label displays username and its comment and the first w

4条回答
  •  无人及你
    2020-12-20 18:40

    labels seems to be difficult. Ypu can use a view. add a button and lable on that side by side and add 1st character to button and others to label.

提交回复
热议问题