I am making my first text field, and I am looking for more of a text area that the person can fill out. Xcode disables for me the ability to extend it to more than one line. Is it possible? If so, how do I do that?
Thanks!
I am making my first text field, and I am looking for more of a text area that the person can fill out. Xcode disables for me the ability to extend it to more than one line. Is it possible? If so, how do I do that?
Thanks!
You want a UITextView
, which is an editable field that can accomodate more than one line of text.
A multiline UITextField
is implemented by the UITextView
and making sure its editable
property is set to YES
.
The
UITextView
class implements the behavior for a scrollable, multiline text region.