Setting the font size on a text field

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

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
Tagged with:
 

1 Response » to “Setting the font size on a text field”

  1. [...] Setting the font size on a text field | iPhone Software from Satosoft [...]

Leave a Reply




Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!