Closed aaasifrz9 closed 5 years ago
From the notes in the README
:
THLabel doesn't respect the
numberOfLines
property, because Core Text doesn't support it natively. If you would like to have multiple lines, setlineBreakMode
toNSLineBreakByWordWrapping
.
I have set multiline text in UILabel and applied THLabel on it then it always showing text in a single line.
I have set IBOutlet
@IBOutlet weak var label: THLabel!
Then in viewDidLoad
Its showing label text properly (see attached 'Normal.png') in multiline without THLabel. But after applying THLabel it always showing in a single line (see attached 'After applying THLabel.png').
Normal:![normal](https://user-images.githubusercontent.com/24565054/45996070-683ace80-c0b8-11e8-848d-e2358cc5d588.png)
After applying THLabel:![after applying thlabel](https://user-images.githubusercontent.com/24565054/45996071-6a9d2880-c0b8-11e8-8048-15faa22330f3.png)
Please suggest how to integrate THLabel with multiple lines. Thanks in advance.