UIWebView with contentEditable (html editing), first responder handling?

Here is how I overwrite these methods in a UIWebView subclass (content is the id of the editable element): -(BOOL)resignFirstResponder { [self setUserInteractionEnabled:NO];[self setUserInteractionEnabled:YES]; return [super resignFirstResponder]; } // only works on iOS 6+ -(void)becomeFirstResponder { self.keyboardDisplayRequiresUserAction = NO; // set here or during initialization // important note: in some situations (newer iOS versions), it … Read more