Thanks for you reply!
I am already using a ColorSet with a light and a dark color but the border doesn't change its color when I change the theme. It's working fine for everything else but stuff that I set through the "Identity Inspector" in storyboard (I don't set it through code) doesn't seem to be affected.
I also tried setting the button to a custom class SpecialButton:UIButton {} with the traitCollectionDidChange code (which was suggested on stackexchange) and then it's working but at the same time it's not affecting every button, unless I actively set them to use that class. :/ I'd rather have this as default behavior, like with the extension.
Topic:
Programming Languages
SubTopic:
Swift
Tags: