// "通过KVC修改占位文字的颜色" [self.textField setValue:[UIColor whiteColor] forKeyPath:@"_placeholderLabel.textColor"]; 亲测有效~