tags:

views:

157

answers:

1

Is there a way to make the text "automatically" smaller if the text in one row is longer than it can fit?

+2  A: 

Yep:

UILabel* myLabel = /* init the label */
myLabel.adjustsFontSizeToWidth = YES;
myLabel.minimumFontSize = 10;  // Float value, in pixels (int value recom'd).

You can read more in Apple's UILabel docs.

Tyler