用KVC的方法
textField.placeholder = @"客户信息"; [textField setValue:[UIColor blackColor] forKeyPath:@"_placeholderLabel.textColor"]; [textField setValue:[UIFont boldSystemFontOfSize:16] forKeyPath:@"_placeholderLabel.font"];