Post

Replies

Boosts

Views

Activity

Reply to New UI Element colors in SwiftUI
My lazy solution was just adding the colors from UIKit as colors to my asset collection and calling them from there. For example, in a foregroundColor modifier, I would use this: .foregroundColor(Color("backgroundColor")) This works reasonably well for me.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’22