Arun Arun - 7 months ago 48
iOS Question

How set UITextField height?

I am using a UITextField. I want to increase its height. But I did not found any property to increase the height of a UITextField.

How can i achieve this ?


CGRect frameRect = textField.frame;
frameRect.size.height = 100; // <-- Specify the height you want here.
textField.frame = frameRect;