I have a cell with multiline UILabels, but when the text's label does not fit the frame, no dots are shown. How can I fix this?
Have you tried this?
Prior Swift 5:
yourLabel.adjustsFontSizeToFitWidth = NO;
yourLabel.lineBreakMode = NSLineBreakByTruncatingTail;
Swift 5:
yourLabel.adjustsFontSizeToFitWidth = false
yourLabel.lineBreakMode = .byTruncatingTail
Prior iOS6 use UILineBreakModeTailTruncation
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