Arun Arun - 10 months ago 81
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;