cocoa touch - iPhone UITextField: how to insert new line by the return key? -
I want to get a return / new line by hitting the return key on the keyboard of UIPPStField. I have found out that textFieldShouldReturn is called.
But how do I insert a carriage return in the text area?
You want to use a UITextView instead. UITextFields are for single line input while UITextViews supports multi-line input.
Comments
Post a Comment