views:

24

answers:

2

I have a UITextField with the adjustsFontSizeToFitWidth property set to YES. I want to get ahold of the current (adjusted) font size. Is that possible?

If not, getting ahold of the actual width of the text (in the adjusted size) would be almost as good.

+1  A: 

In the adjusted size, the width of the text would be the same as the width of the text field.

tadej5553
+1  A: 

I don't think it's possible, but it should not be too difficult to write your own class.

tc.