For me it worked today like this:
@main
struct AwesomeApp: App {
init() {
UIView.appearance().tintColor = .accent
}
var body: some Scene {
WindowGroup {
ContentView()
}
}
}
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: