iOS Question
iOS Question
- Started
- Last post
- 2 Responses
- insomnie
Does anyone know how to run a function when the return key is pressed on the keyboard?
- animatedgif0
in what?
Safari? Cocoa?
- insomnie0
Objective-C. Sorry about that.
I am calling a method to dismiss the keyboard when you are done typing. But I also need to perform a function.
-(BOOL)textFieldShouldReturn:(UI... *)textField {
return [textField resignFirstResponder];
}