accessibilityDisplayShouldIncreaseContrast
A Boolean value that indicates whether the app presents 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. To receive updates when this setting changes, register for the accessibilityDisplayOptionsDidChangeNotification notification using notificationCenter.