i am in need to use a text field in my application but the ones provided by XCode are only 1 line long and you can only change the width but not the hight.
I was wondering if its possible to make it look more lines long?
Is it only possible with customization and if yes any good tutorials?
Thank you!
i am in need to use a text field in my application but the
Share
First off, you can actually change the height of a
UITextField. Just change the border style in the Attributes Inspector to anything except the default “rounded corners”. You can then resize it right in Interface Builder. If you really wanted to, you could even change it back in yourviewDidLoadmethod like this:However, to have multiple lines, you have to use a
UITextView. It’s by default multi-line, but see the Apple documentation for more information.