Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

change placeholder color swift

myTextField.attributedPlaceholder = NSAttributedString(string: "placeholder text",
                             attributes: [NSAttributedString.Key.foregroundColor: UIColor.white])
 
PREVIOUS NEXT
Tagged: #change #placeholder #color #swift
ADD COMMENT
Topic
Name
7+9 =