importance
TypeScriptget importance(): _Accessibility_AXCustomContent_ImportanceSwift declarationvar importance: AXCustomContent.ImportanceDetermines when to output custom accessibility content.
struct · iOS 17.0+ · SDK 27.1
struct CustomContentA CustomContent struct contains the accessibility strings for the labels you apply to your accessibility content.
get importance(): _Accessibility_AXCustomContent_ImportanceSwift declarationvar importance: AXCustomContent.ImportanceDetermines when to output custom accessibility content.
set importance(value: _Accessibility_AXCustomContent_Importance)Swift declarationvar importance: AXCustomContent.ImportanceDetermines when to output custom accessibility content.
get label(): _Foundation_LocalizedStringResourceSwift declarationvar label: LocalizedStringResourceA localized string key that identifies the label for this content.
set label(value: _Foundation_LocalizedStringResource)Swift declarationvar label: LocalizedStringResourceA localized string key that identifies the label for this content.
static init(label: _Foundation_LocalizedStringResource, value: _Foundation_LocalizedStringResource, importance: _Accessibility_AXCustomContent_Importance): AccessibilityComponent_CustomContentSwift declarationinit(label: LocalizedStringResource, value: LocalizedStringResource, importance: AXCustomContent.Importance)Creates a new CustomContent with the given label, value, and importance.
get value(): _Foundation_LocalizedStringResourceSwift declarationvar value: LocalizedStringResourceA localized string key that provides a value for the label.
set value(value: _Foundation_LocalizedStringResource)Swift declarationvar value: LocalizedStringResourceA localized string key that provides a value for the label.
No declarations were skipped in this snapshot.