/ Published in: Objective C
                    
                                        
make your class implement the 
on your UITextField object, do myTextField.delegate = self.
                on your UITextField object, do myTextField.delegate = self.
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
#pragma mark -
#pragma mark UITextFieldDelegate methods
- (BOOL)textFieldShouldReturn:(UITextField *)theTextField {
[theTextField resignFirstResponder];
return YES;
}
Comments
 Subscribe to comments
                    Subscribe to comments
                
                