改变UITextField placeHolder 字体 颜色


[_textSearchField setValue:[UIColor redColor] forKeyPath:@"_placeholderLabel.textColor"];
_textSearchField.font = [UIFont fontWithName:@"0" size:12.0f];
原文地址:https://www.cnblogs.com/this-is-Frank/p/4829719.html