//placeholder的背景颜色
_textField1.placeholder = @"邮箱/手机号";
[_textField1 setValue:[UIColor whiteColor] forKeyPath:@"placeholderLabel.textColor"];
//placeholder的背景颜色
_textField1.placeholder = @"邮箱/手机号";
[_textField1 setValue:[UIColor whiteColor] forKeyPath:@"placeholderLabel.textColor"];
本文标题:textField.placeholder的颜色
本文链接:https://www.haomeiwen.com/subject/cknaittx.html
网友评论