Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSWorkspaceMBS class.
NSWorkspaceMBS.accessibilityDisplayShouldDifferentiateWithoutColor as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared property | Cocoa | MBS MacCocoa Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
If this is true, UI should not convey information using color alone and instead should use shapes or glyphs to convey information. You may listen for NSWorkspaceAccessibilityDisplayOptionsDidChangeNotification to be notified when this changes.
(Read only property)
NSWorkspaceMBS.accessibilityDisplayShouldIncreaseContrast as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared property | Cocoa | MBS MacCocoa Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
When this method returns true, present a high contrast UI. For example, use a less subtle color palette or bolder lines.
(Read only property)
NSWorkspaceMBS.accessibilityDisplayShouldInvertColors as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared property | Cocoa | MBS MacCocoa Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
If this property's value is true then the display will be inverted. In these cases it may be needed for UI drawing to be adjusted to in order to display optimally when inverted. You may listen for NSWorkspaceAccessibilityDisplayOptionsDidChangeNotification to be notified when this changes.
Available on MacOS 10.12 or newer.
(Read only property)
NSWorkspaceMBS.accessibilityDisplayShouldReduceMotion as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared property | Cocoa | MBS MacCocoa Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
If this property's value is true, UI should avoid large animations, especially those that simulate the third dimension. You may listen for NSWorkspaceAccessibilityDisplayOptionsDidChangeNotification to be notified when this changes.
Available on MacOS 10.12 or newer.
(Read only property)
NSWorkspaceMBS.accessibilityDisplayShouldReduceTransparency as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared property | Cocoa | MBS MacCocoa Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
If this property's value is true, UI (mainly window) backgrounds should not be semi-transparent; they should be opaque. You may listen for NSWorkspaceAccessibilityDisplayOptionsDidChangeNotification to be notified when this changes.
(Read only property)
NSWorkspaceMBS.isSwitchControlEnabled as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared property | Cocoa | MBS MacCocoa Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
NSWorkspaceMBS.isVoiceOverEnabled as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared property | Cocoa | MBS MacCocoa Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
The items on this page are in the following plugins: MBS MacCocoa Plugin.