//第二种
[_userName setValue:[UIColor whiteColor] forKeyPath:@"_placeholderLabel.textColor"];
//第二种
[_userName setValue:[UIColor whiteColor] forKeyPath:@"_placeholderLabel.textColor"];
本文标题:修改UITextfeild的placeholder的颜色
本文链接:https://www.haomeiwen.com/subject/cemgtxtx.html
网友评论