Possible Duplicate:
How to create a multiline UITextfield?
UITextField delegate will capture return key: - (BOOL)textFieldShouldReturn:(UITextField *)textField
but it won’t do multiline like UITextView can. But UITextView, can it capture return key?
I need to capture key events: (return) and do multiline: "\n".... What can I do? thx
A quick google search for “UITextView detect return” came up with this thread:
UITextView (editing) – detecting that next line event occured
(for convenience sake, I’ve posted the code below)