In macOS Big Sur a multicolor
accent color is allowed, no longer overwriting an app’s custom tint color (in theory).
This can be seen in a few system apps:
(images from this tweet)
However setting the tintColor
property of a view, a window, or even UIView.appearance()
still results in the default blue in macCatalyst. Not even setting onTintColor
of a checkbox (UISwitch
) has any effect.
Is this a bug or is there a correct way to do this?
You do it the same way you set tint color for a Watch app:
Apple’s WatchKit instructions are here, but it’s actually the same for all platforms: https://developer.apple.com/documentation/watchkit/setting_the_app_s_tint_color