修改textFieldplaceholder字体颜色和大小
textField.placeholder = @"请输入用户名";
[textField setValue:[UIColor grayColor] forKeyPath:@"_placeholderLabel.textColor"];
[textField setValue:[UIFont systemFontOfSize:14] forKeyPath:@"_placeholderLabel.font"];
NSMutableAttributedString *placeholder =[[NSMutableAttributedString alloc]initWithString:@"手机号"];
[placeholder setAttributes:@{NSForegroundColorAttributeName:[UIColor whiteColor],
NSFontAttributeName:[UIFont systemFontOfSize:14]} range:NSMakeRange(0, 1)];
self.phoneTextfield.attributedPlaceholder =placeholder;