swift 5 how to change the placeholder color text field code example
Example 1: set white place holder color in swift
placeholderLabel.textColor (Swift 4)
_placeholderLabel.textColor (Swift 3 or less)
Example 2: change placeholder color swift
myTextField.attributedPlaceholder = NSAttributedString(string: "placeholder text",
attributes: [NSAttributedString.Key.foregroundColor: UIColor.white])