Answers for "text field placeholder string as attributed string"

0

swift uitextfield placeholder color

myTextField.attributedPlaceholder = NSAttributedString(string: "placeholder text",
                             attributes: [NSAttributedString.Key.foregroundColor: UIColor.white])
Posted by: Guest on March-04-2020

Code answers related to "text field placeholder string as attributed string"

Code answers related to "Swift"

Browse Popular Code Answers by Language