Underline text inside uitextview

前端 未结 3 1899
野的像风
野的像风 2021-01-27 09:01

How can i underline text inside uitextview programmatically?

3条回答
  •  礼貌的吻别
    2021-01-27 09:11

    You can use NSAttributedString for this purpose. Following is link for the same - https://github.com/AliSoftware/Ali-Cocoa-Classes

    And you can refer this thread to check how to use NSAttributedString. How do you use NSAttributedString?

提交回复
热议问题