I have a UILabel that contains text that is bigger than the label size. (The UILabel has 2 lines.)
The UILabel is showing the three dots (ellipsis) on iOS. I do not want label to show this dots. How can I make them not show?
Set the label's lineBreakMode
to .ByClipping
(Swift) or NSLineBreakByClipping
(Objective-C).
Programmatically,
nameLabel.lineBreakMode = .byClipping
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With