0

I am using MDCTextInputControllerOutlined and I want change textColor to white I have tried many ways but I can not able to change textColor below is my code:

var emailTextFieldController : MDCTextInputControllerOutlined?
emailTextFieldController = MDCTextInputControllerOutlined(textInput: txtEmailAddress)
emailTextFieldController?.borderStrokeColor = UIColor.white
emailTextFieldController?.activeColor = UIColor.white
emailTextFieldController?.inlinePlaceholderColor = UIColor.white
emailTextFieldController?.textInputClearButtonTintColor = .white
emailTextFieldController?.floatingPlaceholderActiveColor = UIColor.white

How do I change textMDCTextInputControllerOutlined?

Cœur
  • 37,241
  • 25
  • 195
  • 267
Hussy
  • 23
  • 5

1 Answers1

0

txtEmailAddress.textColor = UIColor.white

Gabriel
  • 237
  • 2
  • 5