InitialsImageView
InitialsImageView copied to clipboard
Add Dark Mode support
Hi, first of all, thank you for this library :)
Currently the background color doesn't get updated if the user switches between light and dark mode. This is because of using cgColor, which doesn't automatically update.
Hey @omastny, thanks for your support. I'm guessing that you would expect lighter background colors with black text in a dark mode setting?
Hi @bachonk,
this is already working if a view is initial loaded. But if a switch happens on the current view between dark and light, the color doesn't get updated.
Like described here "Update Custom Views Using Specific Methods" -> https://developer.apple.com/documentation/appkit/supporting_dark_mode_in_your_interface/