Adding underline attribute to partial text UILabel in storyboard

Steps:-

  1. Go to TextEdit and create your UILabel text with underline.
  2. Change UILabel text to Attributed (Attributed Selector).
  3. Copy Underlined text and assign to UILabel.

  1. select the UILabel and go to Attribute Inspector section.
    Change the text value from plain to Attributed .

    enter image description here

  2. Select the particular part of text which you want to Underline .

    Note: If u want full text to be Underline select full text.

    enter image description here

  3. Now right click and change the font to Underline.

    enter image description here

It will Underline the text

enter image description here