How to display Underlined Text in a Button on iOS?

后端 未结 10 1626
日久生厌
日久生厌 2020-12-16 15:20

I want to display the mail ID in my view such that clicking the mail ID should open the mail composer view.

I want to display the button text as underlined to show i

10条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-16 15:23

    To do it in interface builder

    1. Click on button/label
    2. In Attributes inspector, change Title/Text to Attributed from plain
    3. Select the text which you want to show.
    4. Right click on it Goto Font->Underline

提交回复
热议问题