Just wonder if it is possible to use multiple lines in UITextField in XCode. I know how to increase the height size. but have know idea about its lines :/
Ok I did it with some trick ;) First made a UITextField and increased it's size like this:
var frameRect: CGRect = textField.frame
frameRect.size.height = 53
textField.frame = frameRect
Then I made a UITextView exactly in the same area that I made my UITextField, and deleted its background colour. Now it looks like that I have a multiple lines TextField!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With