A quick tip for the frustrated iPhone developer!!
Even if you set the minimum font size in Interface Builder for a UITextField, it doesn't work how it should!
Here is a one line fix!!
myUITextField.font = [UIFont systemFontOfSize:12.0f];
Cheers
Graham
On May 20, 2009, In iPhone Development, By Graham F
A quick tip for the frustrated iPhone developer!! Even if you set the minimum font size in Interface Builder for a UITextField, it doesn’t work how it should! Here is a one line fix!! myUITextField.font = [UIFont systemFontOfSize:12.0f]; Cheers Graham
[...] Setting the font size on a text field | iPhone Software from Satosoft [...]