iosios7uinavigationbaruiaccessibility

Is there a way to check if "increase contrast" is enabled in the accessibility settings in iOS?


On iOS 7.0.3 turning on increased contrast mode removes the blur effects you'd normally see in the nav bar if you're using a bar tint color with an alpha less than 1.0, which makes the nav bar seem much more transparent than it is with the default settings.

Is there a way to programmatically check to see if this setting is enabled? While UIAccessibility has a ton of other functions like UIAccessibilityIsInvertColorsEnabled(), I can't find anything related to this setting specifically.


Solution

  • Apparently there's no public API for checking whether that option is on.

    According to the UIKit Function Reference, the only checks you can perform are the following