Mai Khanh
0
Q:

swift uitextfield placeholder color

placeholderLabel.textColor (Swift 4)

_placeholderLabel.textColor (Swift 3 or less)
0
myTextField.attributedPlaceholder = NSAttributedString(string: "placeholder text",
                             attributes: [NSAttributedString.Key.foregroundColor: UIColor.white])
0

New to Communities?

Join the community