Adding underline attribute to partial text UILabel in storyboard
Steps:-
- Go to TextEdit and create your UILabel text with underline.
- Change UILabel text to Attributed (Attributed Selector).
- Copy Underlined text and assign to UILabel.
select the
UILabel
and go to Attribute Inspector section.
Change the text value from plain to Attributed .Select the particular part of text which you want to Underline .
Note: If u want full text to be Underline select full text.
Now right click and change the font to Underline.
It will Underline the text