How to display Underlined Text in a Button on iOS?

后端 未结 10 1636
日久生厌
日久生厌 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:39

    Another alternative is to set an image for the button. Create an image that displays the appropriate text and the button will display that instead of text.

    I agree with Zack that underlining text is redundant and violates the interface grammar. You underline text for links in the first place to indicate that they have behavior like buttons. If the text is already in a button, there is no need to underline it to indicate it behaves like a button because the user already expects an action in response to clicking it.

提交回复
热议问题