how to add an action on UITextView return/search key?(swift 2)

Viewed 4105

I have a UITextView which I am using as text entry in a translation application. When the user presses return/search then I want to do some action e.g. searching for word from textView. I want to do some action like we do with IBAction.

1 Answers
Related