先记录一点新知识
UITextField 如何修改placeholder属性?
[desTextField setValue:[UIColor redColor] forKeyPath:@"placeholderLabel.textColor"];
[desTextField setValue:[UIFont systemFontOfSize:14] forKeyPath:@"placeholderLabel.font"];
textField.attributedPlaceholder = [[NSAttributedString alloc] initWithString:@"密码" attributes:@{NSForegroundColorAttributeName: color}];