title: Vertically centering a UITextField's attributedPlaceholder
body: <p>I am currently unable to vertically align an attributedPlaceholder inside a UITextField and I've no idea why.</p>
  
  <p>Here's what I am doing:</p>
  
  <pre><code>self.addressBar = [[UITextField alloc] initWithFrame: CGRectMake(...)];
  self.addressBar.backgroundColor = [UIColor whiteColor];
  self.addressBar.attributedPlaceholder = [[NSAttributedString alloc] initWithString:@"Placeholder text"
                                  attributes:@{
                                               NSForegroundColorAttributeName: [UIColor colorWithRed:79/255.0f green:79/255.0f blue:79/255.0f alpha:0.5f],
                                               NSFontAttributeName : [UIFont fontWithName:@"Gotham-BookItalic" size:14.0],
                                               }
   ];
  self.addressBar.delegate = self;
  self.addressBar.contentVerticalAlignment = UIControlContentVerticalAlignmentCenter;
  [self.view addSubview:self.addressBar];
  </code></pre>
  
  <p>And here's what happening:</p>
  
  <p><img src="https://i.stack.imgur.com/fc8Oq.png" alt="The UITextFieldLabel is smaller than its parent"></p>
  
  <p>It's quite clear that this happens due to the fact that the UITextFieldLabel's height is 10px smaller than the UItextField itself, but I can't seem change that. </p>
  
  <p>This only happens using an attributedPlaceholder though; the default placeholder property works just fine.</p>
  
  <p>Any ideas?</p>