设置UITextField的placeholder的颜色 [textField setValue:[UIColor redColor] forKeyPath:@"_placeholderLabel.textColor"];