title: UITextField troubles centering placeholder and changing the keyboard color writing
body: <p>i'm actually working into a registration form into my iOs application.</p>
  
  <p>I'm still quite new with iOs but I managed to make a good looking registration form thanks to uiTableViewCell customisation and uiTextField.</p>
  
  <p>I'm facing 2 problems right now that I fail at solving actually:</p>
  
  <p>1) When I align my UITextField on center, it does not really center it or maybe it does but then it starts writing my string at center instead of centering the string itself, even though I did init my TextField with my cell frames (see picture if needed).</p>
  
  <p>2) I managed to change the UITextField text color but when the keyboard shows, it actually starts writing black again instead of white. Can I change this ?</p>
  
  <p>Sorry for my bad english, not my native language but still trying and thank you for your help</p>
  
  <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  {
     NSString *identifier = @"id";
     UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:identifier];
     if (cell == nil){
         cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:identifier];
     }
     if (indexPath.section == 0){
      self.LastName = [[UITextField alloc] initWithFrame:cell.contentView.bounds];
      self.LastName.placeholder= @"Name";
      self.LastName.autocorrectionType = UITextAutocorrectionTypeNo;
      self.LastName.delegate = self;
      self.LastName.textAlignment = NSTextAlignmentCenter;
      [self.LastName setValue:[UIColor whiteColor] forKeyPath:@"_placeholderLabel.textColor"];
  
      [cell.contentView addSubview:self.LastName];
  }
  else if (indexPath.section == 1)
      cell.textLabel.text = @"Name";
  
  cell.textLabel.textAlignment = NSTextAlignmentCenter;
  </code></pre>
  
  <p>First cell is my UITextField and second is my normal centered cell (i dont own 10 reputations so i can just give you guys a link to the image, sorry .. <a href="http://s22.postimg.org/sep2kcvrl/not_Working.png" rel="nofollow">http://s22.postimg.org/sep2kcvrl/not_Working.png</a></p>