Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to know if User disabled transparency in Settings -> Accessibility?

I'm working on a Widget / Today View extension and I'd like to adapt the design if user disabled transparency effect in Settings -> General -> Accessibility.

Indeed, in case the user disabled transparency, the overall appearance of the notification center is so different that my default design is ugly.

Do you know how to retrieve this settings in order to react accordingly?

like image 717
Aurelien Porte Avatar asked Aug 18 '14 16:08

Aurelien Porte


People also ask

How do I turn off transparency effect?

Press the Windows Key + I and or go to Start > Settings Personalization > Color. You can also press the Windows Key + R, type in ms-settings:colors and press Enter. Scroll down and locate Transparency effects. Click to turn Transparency effects off.

Why can't I turn off transparency effects?

1] Through Windows Settings Right-click on the Start button and select Settings from the menu. On the list on the left-hand side, select Personalization. On the right-pane, click on Colors. Here, you will find an option for Transparency effects with a toggle switch to Enable or Disable it.

How do I turn off transparency in Windows 10 without activation?

Search for regedit.exe. Open the Registry Editor and navigate to HKEY_CURRENT_USER > SOFTWARE > MICROSOFT > WINDOWS > THEMES > PERSONALIZE. Right click on EnableTransparency and change the value from 0 to 1.

How do you change the transparency effect?

To turn transparency effects on or off via the Personalization settings, press Win + I to open the Settings app. Then, navigate to Personalization > Colors and click the toggle for Transparency effects to enable or disable them. Doing this will make some windows and surfaces in Windows 11 translucent.


1 Answers

There is an accessibility setting to reduce transparency but I'm not aware of one to completely disable it. If the former is what you mean then starting in iOS8 you should be able to use:

BOOL UIAccessibilityIsReduceTransparencyEnabled()

You can also register for changes to this setting using the following notification name:

UIAccessibilityReduceTransparencyStatusDidChangeNotification
like image 116
Eric Sean Conner Avatar answered Sep 27 '22 19:09

Eric Sean Conner