Categories
Featured Development Resources

Custom Behavior On Return For A UITextView

The default behavior for a UITextField on pressing the return key is to execute the textFieldShouldReturn:┬ámethod of the UITextFieldDelegate. What if we wanted to create similar behavior with a a UITextView which does not have an equivalent method and by default just creates a new line? Nick Dalton has come up with a snippet of […]