//使用KVC 修改占位符字体颜色
[self.textfield setValue:[UIColor blackColor] forKeyPath:@"_placeholderLabel.textColor"];
//下面这段代码也可以
self.textfield.attributedPlaceholder = [[NSAttributedString alloc]initWithString:@"placeHolder Text" attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:20]}];