一种 

textField.placeholder = @"输入的内容";  
[textField setValue:[UIColor redColor] forKeyPath:@"_placeholderLabel.textColor"]; 

第二种

 TextField.attributedPlaceholder = [[NSAttributedString alloc] initWithString:TextField.placeholder attributes:@{NSForegroundColorAttributeName: [UIColor lightGrayColor]}];


一般用第一种能解决
但是 今天碰到 第一种解决不了 只能使用第二种了 原因
textField.placeholder = @"";
第二种是初始化没用到placeholder后面
placeholder来接收值得时候 使用