Post #2550848
2026-03-27 16:35 UTC
@nicoreese@mastodon.social I think I use UIKit colors for this use case, this way:
Color(uiColor: .secondarySystemGroupedBackground)
I wish it was possible without having to use the UIKit colors but so far I haven’t found a way… Let me know if you find one please!
Documentation: https://developer.apple.com/documentation/uikit/uicolor/secondarysystemgroupedbackground
Replies (1)
-
@nicoreese@mastodon.social 2026-03-27 17:58
@alpennec@iosdev.space Yeah, looks like this is the only way. It's better than my original solution though where I swapped the color depending on mode. With a custom shape style using the color it does not look half bad.