How do I change the colour of MDCTextField's outline from purple to .systemBlue?
How do I change the colour of MDCTextField's outline from purple to .systemBlue?
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)
Have you already tried?
let controller = MDCTextInputControllerOutlined(textInput: textInput)
controller.borderStrokeColor = .black