1
votes

One of my labels is auto resizing to fit the text. How do I find out what the new dynamic size is? I want to match another label to this adjusted size.

1

1 Answers

2
votes

There is not native method to get the font size, but you can calculate the font size by using NSString's method sizeWithFont:minFontSize:actualFontSize:forWidth:lineBreakMode: