If you want to use label color while inside of SwiftUI use Color.init(cgColor: UIColor.secondaryLabel.cgColor)
You can swap out the secondaryLabel
for any of the other system colors, including background
, label
and many others.
A developer's rambling
If you want to use label color while inside of SwiftUI use Color.init(cgColor: UIColor.secondaryLabel.cgColor)
You can swap out the secondaryLabel
for any of the other system colors, including background
, label
and many others.