TextColor property doesn't change it for leadingAssistiveLabel of MDCOutlinedTextField

397 Views Asked by At

According the Material Design docs (https://material.io/components/text-fields/ios#outlined-text-field) it is possible to change the color of leadingAssistiveLabel through textColor property (docs screenshot). I try to do this with orange color, but the color doesn't change. Code snippet and Result.

How can I fix it?

1

There are 1 best solutions below

0
On

Use this - materialTF.setLeadingAssistiveLabelColor(.orange, for: .normal)