Determining UITextField's Fit to Width Font Size?
Greetings,
I am using a UITextField and I have the property adjustsFontSizeToFitWidth set to YES.
This all works fine, but I can't figure out how to determine the scaled font size.
I have tried using a textFieldDidEndEditing delegate method and inspected the font property's pointSize, xHeight, lineHeight etc. properties, and it does not seem to change even when the font size changes to fit the width.
Seems like there must be a way.
Any tips would be greatly appreciated!
Thanks!
|