Question

How is it possible to resize size of text in UILabel in order to fit in the label? (I don't want those 3 dots to appear)

Thank you in advance.

Was it helpful?

Solution

UILabel *label;
label.adjustsFontSizeToFit = YES;
label.minimumFontSize = 5.0; // or whatever else minimum font size you want

... should do the trick!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top