@glassale What app did you see it working in?
I struggle with the same problem, no alternatives work either. It’s worth noting that .tint() not only indeed worked before, but is explicitly documented as working. Even SwitchToggleStyle.init(tint: Color) docs say the initializer is deprecated, with a “Use the tint(_:) view modifier instead.” note...
@glassale Kaleidoscope at least uses app-global accent color for switches (which indeed continues to work), not a different unique tint().
I duplicated your bug report, but don’t share your optimism about anybody at Apple looking at it, let alone fixing the regression anytime soon (or frankly, ever - I have bugs unfixed for 10 years and recall one bug fixed in recent years, and that was in Xcode, was security-adjacent and still took more than a year, so...).
@glassale What app did you see it working in?
I struggle with the same problem, no alternatives work either. It’s worth noting that .tint() not only indeed worked before, but is explicitly documented as working. Even SwitchToggleStyle.init(tint: Color) docs say the initializer is deprecated, with a “Use the tint(_:) view modifier instead.” note...
@glassale Kaleidoscope at least uses app-global accent color for switches (which indeed continues to work), not a different unique tint().
I duplicated your bug report, but don’t share your optimism about anybody at Apple looking at it, let alone fixing the regression anytime soon (or frankly, ever - I have bugs unfixed for 10 years and recall one bug fixed in recent years, and that was in Xcode, was security-adjacent and still took more than a year, so...).