Adding underline to UILabel attributed string from the storyboard fails

后端 未结 6 1796
半阙折子戏
半阙折子戏 2021-01-30 12:22
  1. From the storyboard I select the UILabel in question
  2. Then in Attribute Inspector > Label > [I choose] Attributed
  3. Also in Attribute Inspector > Label > Te
6条回答
  •  [愿得一人]
    2021-01-30 13:23

    The Designer Way - Highly Customisable Version

    I personally prefer to customise my design(s) as much as possible. Sometimes, you will find that using the built-in underline tool is not easily customisable.

    To do something like the following, I have posted an example in How to make an underlined text in UILabel?

提交回复
热议问题