title: Why UITextField with secureTextEntry clears its value when jumping to next field?
body: <p>I have user registration screen with multiple UITextFields, one of them is password field with  secureTextEntry = YES. The problem is the password field gets cleared after entering password and jumping to next field (after touch on next field). Then same was happening when pressing keyboard return, but was able to workaround that:</p>
  
  <pre><code>- (BOOL)textFieldShouldReturn:(UITextField *)textField
  {
    NSString *text = textField.text; //copy password
    [textField resignFirstResponder]; // clears password field value
    textField.text = text; // put password back 
    return YES;
  }
  </code></pre>
  
  <p>However, not able to workaround situation when focus moves to next field. Already banging my head for several hours with no solution. Probably missing something fundamental. Any ideas?</p>