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?
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.
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.
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With