首页 > 技术文章 > 改变UITextField placeHolder 字体 颜色

this-is-Frank 2015-09-22 17:56 原文


[_textSearchField setValue:[UIColor redColor] forKeyPath:@"_placeholderLabel.textColor"];
_textSearchField.font = [UIFont fontWithName:@"0" size:12.0f];

推荐阅读