Answers for "change placeholder color textfield mui"

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 "change placeholder color textfield mui"

Code answers related to "Swift"

Browse Popular Code Answers by Language