Multi-line user input in iOS: UITextField vs UITextView
UITextField is specifically one line only. Use UITextView instead for multiline text. To implement the placeholder in UITextView use this logic/code. First set the UITextView to contain the placeholder text and set it to a light gray color to mimic the look of a UITextField’s placeholder text. Either do so in the viewDidLoad or upon … Read more