Set Placeholder text color programmatically in swift


textfield.setValue(UIColor.darkGray, forKeyPath: "_placeholderLabel.textColor")