Answers for "how to placeholder perticular text color change in swift 4"

0

set white place holder color in swift

placeholderLabel.textColor (Swift 4)

_placeholderLabel.textColor (Swift 3 or less)
Posted by: Guest on August-23-2020
0

change placeholder color swift

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

Code answers related to "how to placeholder perticular text color change in swift 4"

Code answers related to "Swift"

Browse Popular Code Answers by Language