Instance Property

accessibilityDisplayShouldIncreaseContrast

A Boolean value that indicates whether the app should present a high contrast user interface.

Declaration

var accessibilityDisplayShouldIncreaseContrast: Bool { get }

Discussion

When this method returns true, present a high contrast UI. For example, use a less subtle color palette or bolder lines.

Users can change this setting by choosing System Preferences > Accessibility > Display and selecting the “Increase contrast” option. Listen to the accessibilityDisplayOptionsDidChangeNotification notification to receive updates when this setting changes.

See Also

Supporting Accessibility

var accessibilityDisplayShouldDifferentiateWithoutColor: Bool

A Boolean value that indicates whether the app should avoid conveying information through color alone.

var accessibilityDisplayShouldReduceTransparency: Bool

A Boolean value that indicates whether the app should avoid using semitransparent backgrounds.