Skip to content

AXCustomContent.Importance

Category: Enumeration

Platforms: iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+, visionOS 1.0+, watchOS 7.0+

Overview

Objects that control the timing of content output.

Declaration

enum Importance

Details

Topics

  • Creating a content importance enumeration
  • init?(rawValue: UInt)
  • Setting content importance
  • case default
  • case high

Relationships

  • BitwiseCopyable
  • Equatable
  • Hashable
  • RawRepresentable
  • Sendable
  • SendableMetatype

See Also

  • Defining custom content
  • var label: String
  • var attributedLabel: NSAttributedString
  • var value: String
  • var attributedValue: NSAttributedString
  • var importance: AXCustomContent.Importance

  • Accessibility

  • AXCustomContent
  • AXCustomContent.Importance

AXCustom Content .Importance

Topics (Grouped)

Creating a content importance enumeration

Setting content importance

  • default — case; Output the content to the user on demand.
  • high — case; Output the content to the user immediately.

Conforms To

Defining custom content

Code Examples

enum Importance

Source: https://developer.apple.com/documentation/accessibility/axcustomcontent/importance-swift.enum