How to set font size in iPhone textbox?

I have a UITextField in a view (on an iPhone), but the input text seems to be very small. I do not see an option for setting the size in the Builder interface setting.

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

+1


source to share


2 answers


You can also do this in code:

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

      



Greetings.

+14


source


Click the Cmd-T button for the Fonts panel.



+3


source







All Articles