Rightpoint / RZUtils

Rightpoint Commonly Used Tools
Other
123 stars 22 forks source link

UIImageView category to override Invert Colors. #64

Closed jkaufman closed 10 years ago

jkaufman commented 10 years ago

For a variety of reasons, individuals with low vision often benefit from the "Invert Colors" mode available on all iOS devices. Toggling this setting (General > Accessibility > Invert Colors) maps white to black, blue to orange, etc. The mainstream press sometimes calls this "night mode." While the setting can improve text legibility and reading comfort, it leaves images a garbled, ghostly mess.

This category offers a way for developers to prevent content images from inverting along with the rest of the screen. This directly overrides the user's preference and may be undesired, so use it with care!

Potential enhancements:

jkaufman commented 10 years ago

@Raizlabs/maintainers-ios Feedback welcome.

jkaufman commented 10 years ago

I forgot to credit @nbonatsakis with the original concept. Thank you!

ndonald2 commented 10 years ago

@ZevEisenberg Is this good to merge?

ZevEisenberg commented 10 years ago

Yep.