设置textField的placeholder 颜色 字体KVC
2017-08-25 本文已影响11人
孤单雨凉
[textFieldsetValue:[UIColorredColor]forKeyPath:@"_placeholderLabel.textColor"];
[textFieldsetValue:[UIFontboldSystemFontOfSize:16]forKeyPath:@"_placeholderLabel.font"];
[textFieldsetValue:[UIColorredColor]forKeyPath:@"_placeholderLabel.textColor"];
[textFieldsetValue:[UIFontboldSystemFontOfSize:16]forKeyPath:@"_placeholderLabel.font"];