importance
Category: Instance Property
Platforms: iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+, visionOS 1.0+, watchOS 7.0+
Overview
An object that determines when to output custom accessibility content.
Declaration
var importance: AXCustomContent.Importance { get set }
Details
See Also
- Defining custom content
- var label: String
- var attributedLabel: NSAttributedString
- var value: String
- var attributedValue: NSAttributedString
- enum Importance
Topics (Grouped)
Defining custom content
- label:String — var; A localized string that identifies the label for this content.
- attributedLabel:NSAttributedString — var; A localized attributed string that identifies the label for this content.
- value:String — var; A localized string that provides a value for the label.
- attributedValue:NSAttributedString — var; A localized attributed string that provides a value for the label.
- Importance — enum; Objects that control the timing of content output.
Code Examples
var importance: AXCustomContent.Importance { get set }
Source: https://developer.apple.com/documentation/accessibility/axcustomcontent/importance-swift.property