placeholderTextColor error the text color of the placeholder string code example
Example: change placeholder color swift
myTextField.attributedPlaceholder = NSAttributedString(string: "placeholder text",
attributes: [NSAttributedString.Key.foregroundColor: UIColor.white])