views:

365

answers:

1

Hi,

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.

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

... should do the trick!

Christian Brunschen