ストーリーボードから下線を付けられると便利そうなのでメモ
AttributedString を使う。
こういうViewController があったら
Text をPlainからAttributed にして
文字列に下線を直接付与
終わり。
Storyboardから使えるとコード書かなくて済むので楽。
参考adding underline to UILabel attributed string from the storyboard fails
Go to list of users who liked
More than 5 years have passed since last update.
ストーリーボードから下線を付けられると便利そうなのでメモ
AttributedString を使う。
こういうViewController があったら
Text をPlainからAttributed にして
文字列に下線を直接付与
終わり。
Storyboardから使えるとコード書かなくて済むので楽。
参考adding underline to UILabel attributed string from the storyboard fails
Register as a new user and use Qiita more conveniently
Go to list of users who liked