placeholder设置字体大小与颜色

很简单就能实现

[textField setValue:[UIColor greenColor] forKeyPath:@"_placeholderLabel.textColor"];  
[textField setValue:[UIFont boldSystemFontOfSize:13] forKeyPath:@"_placeholderLabel.font"];

你可能感兴趣的:(IOS成长之路,placeholde,字体大小,颜色,ios)