Answers for "how to change placeholder color material ui textfield"

0

uitextfield change placeholder color

swift 5 
myTextfield.attributedPlaceholder =
NSAttributedString( 
  string: "placeholder text", 
  attributes: [
    NSAttributedString.Key.foregroundColor: UIColor.red
  ]
)
Posted by: Guest on September-28-2021

Code answers related to "how to change placeholder color material ui textfield"

Code answers related to "Swift"

Browse Popular Code Answers by Language