title: uiresponder next textfield becomeFirstResponder after keyEvent
body: <p>I have 4 text fields horizontally. Each textFiled will allow only four characters. If user enters four characters focus should be changed to next text field with out any user interaction. By using below code,i am able to switch to next textFiled, but only after typing any character from the keyboard. My requirement is to get auto focus on next filed after entering four characters. Please help me in this. Thanks in Advance.</p>
  
  <pre><code>- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string{
  
  if ( range.location  &gt;= 4 ) {
    textField.text = string;        
      UIResponder* nextResponder = [textField.superview viewWithTag:(textField.tag + 1)];
      if (nextResponder) {           
          [textField resignFirstResponder];            
          [nextResponder becomeFirstResponder];          
      }        
      return NO;
  }    
  return YES;
  </code></pre>
  
  <p>}</p>