Arun Arun -4 years ago 215
iOS Question

How to set UITextField height?

I am using a

UITextField
. I want to increase its height but I have not found any property to do this. How can I achieve this?

Answer Source
CGRect frameRect = textField.frame;
frameRect.size.height = 100; // <-- Specify the height you want here.
textField.frame = frameRect;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download