//第一种
textField.attributedPlaceholder = [[NSAttributedString alloc] initWithString:@"xxx" attributes:@{NSForegroundColorAttributeName:[UIColor whiteColor]}];
//第二种 KVC
[_userName setValue:[UIColor whiteColor] forKeyPath:@"_placeholderLabel.textColor"];