UITextField的placeholder的字体颜色和大小

[_nameText setValue: [UIColor lightGrayColor] forKeyPath:@"_placeholderLabel.textColor"];

[_nameText setValue:[UIFont boldSystemFontOfSize:13] forKeyPath:@"_placeholderLabel.font"];

原文地址:https://www.cnblogs.com/qianyindichang/p/3998024.html