Search code examples
iosswiftxcodeinterface-builder

How to change height of text field?


Is there a way to change the height of a text field in IB?

If not, what is the proper way to do it in code?


Solution

  • Click the attribute inspector for the textField and then change the Border style to second one and you will be able to change the height.

    enter image description here