How do I change the colour of MDCTextField's outline from purple to .systemBlue?
Asked
Active
Viewed 2,423 times
2 Answers
4
this is a solution and work for me
let textField = MDCOutlinedTextField(frame: .zero)
textField.setOutlineColor( .black, for: .editing)
textField.setOutlineColor( .red , for: .disabled)
textField.setOutlineColor( .red , for: .normal)

Behnam Rakhshani
- 514
- 6
- 9
1
Have you already tried?
let controller = MDCTextInputControllerOutlined(textInput: textInput)
controller.borderStrokeColor = .black

Sergej G.
- 11
- 2