Post

Replies

Boosts

Views

Activity

Comment on .tint() has no effect on macOS Liquid Glass toggles (on state background)
@vslavik Glad it's not just me. The apps where it’s working for me are Revisual, Batfi, Kaleidoscope, and Name Changer. I asked Revisual’s dev how he implemented it, and he said he just used .tint(). At this point, my best guess is that it’s a bug that only shows up in certain hardware/software environments. I haven’t received any feedback on my bug report yet, but hopefully Apple engineers are aware of it and looking into it.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’25
Comment on .tint() has no effect on macOS Liquid Glass toggles (on state background)
@vslavik Glad it's not just me. The apps where it’s working for me are Revisual, Batfi, Kaleidoscope, and Name Changer. I asked Revisual’s dev how he implemented it, and he said he just used .tint(). At this point, my best guess is that it’s a bug that only shows up in certain hardware/software environments. I haven’t received any feedback on my bug report yet, but hopefully Apple engineers are aware of it and looking into it.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’25
Comment on .tint() has no effect on macOS Liquid Glass toggles (on state background)
To clarify: .tint() used to work with .toggleStyle(.switch) but it no longer does. It still works with .toggleStyle(.checkbox) and .toggleStyle(.button). I suppose it could be that the new Liquid Glass components are not as customizable on macOS, but I just saw an app that uses them with a custom color so it looks possible.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’25
Comment on .tint() has no effect on macOS Liquid Glass toggles (on state background)
Toggles did respect the .tint modifier on macOS prior to Tahoe. I'm not getting any sort of compiler error, so I'm assuming it's a bug. I did file a report through FeedbackAssistant. #FB20380817
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’25