tags:

views:

2415

answers:

3

I have a UITextField in a view (on an iPhone) but the input text appears very small. I don't see an option in Interface Builder to set the size.

Is there a way to set it declaratively or do I have to resort to code?

+3  A: 

You can do this in IB. Look at this article:

BobbyShaftoe
+3  A: 

Press Cmd-T for the Fonts panel.

Ben Alpert
+1  A: 

You can do it in code as well:

 myUITextField.font = [UIFont systemFontOfSize:12.0f];

Cheers.

Genericrich