[_textSearchField setValue:[UIColor redColor] forKeyPath:@"_placeholderLabel.textColor"];
_textSearchField.font = [UIFont fontWithName:@"0" size:12.0f];
改变UITextField placeHolder 字体 颜色
最新推荐文章于 2021-07-05 18:28:58 发布
[_textSearchField setValue:[UIColor redColor] forKeyPath:@"_placeholderLabel.textColor"];
_textSearchField.font = [UIFont fontWithName:@"0" size:12.0f];