Handle "dark mode" / "invert colors" on iOS. Example, mark image view as
accessibilityIgnoresInvertColors
.
At the time of writing this post, there are 17 different traits that you can use to define your UI controls. Button, Selected, Not Enabled, Adjustable… are some examples. You can find the full list in Apple’s documentation. But sometimes, it might not be straightforward to understand what these traits really mean, or how they affect the user experience, in the documentation so I thought it would be a good idea to write a bit about some of them.
A helpful way to look at your app’s use of color is to put your device in 🐼 Grayscale! (It’s not just a productivity hack!)
This can help you identify areas where you depend only on COLOR to communicate. 🎨 Color is great; however color alone shouldn’t convey important info!via @sommer
Last modified 02 October 2024