Autosize UILabel

Viewed 14219

Is there a way to auto size a UILabel? given size 40 x 40 the text font size would adjust based on the number of characters.

4 Answers

Its better to use Intrinsic content and compression resistance priorities to adjust the size of label w.r.t content.

Related