How can I get access to the timer and change the color individually?

How can I get access to the timer and change the color individually? With the

Code Block .environment(\.colorScheme, .dark)



I change the complete theme but I need only the access to the individual.
Your message seems to lack the code part…

You cannot change the color of hours and minutes independently, as there is a single subview.
If you do this
Code Block
        for view in countDownTimer.subviews {
            view.setValue(UIColor.red, forKeyPath: "textColor")
        }

both will turn red, as there is a single subview.

You should use UIPickerView to customise more.
Read here:
https://stackoverflow.com/questions/37388633/how-to-customise-the-uidatepicker-components-in-swift
How can I get access to the timer and change the color individually?
 
 
Q