title: Sometimes my UITextField is unresponsive to touch, why?
body: <p>I have a <code>UITextField</code> (Password Field) that sometimes takes several touches to show the keyboard.  This seems to only happen when you tap where the placeholder text is.  Here's a shot of the view hierarchy which seems OK to me.</p>
  
  <p><img src="https://i.stack.imgur.com/cx2Fy.png" alt="View Hierarchy"></p>
  
  <p><img src="https://i.stack.imgur.com/eO09Z.png" alt="Button Position"></p>
  
  <p>Any ideas what else to look for so I can figure out why this is happening?</p>
  
  <hr>
  
  <p><strong>EDIT</strong></p>
  
  <p>So I figured out what the problem is, it's the <code>leftView</code> in the next piece of code:  </p>
  
  <pre><code>  UIView *pwPaddingView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 5, 38)];
    self.passwordField.leftView = pwPaddingView;
    self.passwordField.leftViewMode = UITextFieldViewModeAlways;
  </code></pre>
  
  <p>This seems to prevent touches on approximately the first three characters of 'Password'.  The reason it's there was to pad the left hand side of the field so the word was not right up against the left margin.  What alternatives to I have to either allow touches to be detected or to pad the field in a different way?</p>