DEV-ios
DEV-ios copied to clipboard
Smart invert not consistent
Describe the bug Submitted by a test user: Smart invert is inverting photos (i.e. profile, cover images)
To Reproduce Steps to reproduce the behavior:
- Go to general -> accessibility -> display accommodations -> smart invert
Expected behavior I believe photos shouldn't get inverted at all? Or the opposite? Regardless, some are getting inverted and some are not.
Screenshots
I don't think there's anything we can do to change this as it's Apple trying to be "smart" :)
AFAIK, all we can do is apply accessibilityIgnoresInvertColors = true
where we don't want views/imageviews to be inverted
I don't think there's anything we can do to change this as it's Apple trying to be "smart" :)
AFAIK, all we can do is apply
accessibilityIgnoresInvertColors = true
where we don't want views/imageviews to be inverted
This is right also is needed to add a CSS to the images or other media
@media (inverted-colors) { img, video { filter: invert(100); } }
I've found a way to inject the CSS via App side when is detecting the smart invert. I should be uploading a PR soon
Should this issue be closed as there was a PR made and it was merged?