isAccessibilityElement
TypeScriptget isAccessibilityElement(): booleanSwift declarationvar isAccessibilityElement: BoolA Boolean value indicating whether the receiver is an accessibility entity that an assistive application can access.
struct · iOS 17.0+ · SDK 27.1
struct AccessibilityComponentA component that stores accessibility information for an entity. Add an `AccessibilityComponent` to entities to provide accessibility information to the system, such as the entity's name which VoiceOver says aloud when it describes the entity. See <doc:improving-the-accessibility-of-realitykit-apps> for more information.
get isAccessibilityElement(): booleanSwift declarationvar isAccessibilityElement: BoolA Boolean value indicating whether the receiver is an accessibility entity that an assistive application can access.
set isAccessibilityElement(value: boolean)Swift declarationvar isAccessibilityElement: BoolA Boolean value indicating whether the receiver is an accessibility entity that an assistive application can access.
get customActions(): Array<_Foundation_LocalizedStringResource>Swift declarationvar customActions: [LocalizedStringResource]An array of custom actions supported by the entity, identified by their localized string key.
set customActions(value: Array<_Foundation_LocalizedStringResource>)Swift declarationvar customActions: [LocalizedStringResource]An array of custom actions supported by the entity, identified by their localized string key.
get customContent(): Array<AccessibilityComponent_CustomContent>Swift declarationvar customContent: [AccessibilityComponent.CustomContent]An array of custom content objects that deliver accessibility information. Use the Custom Content API to leverage assistive technologies to deliver complex data sets to users in measured portions when they need it.
set customContent(value: Array<AccessibilityComponent_CustomContent>)Swift declarationvar customContent: [AccessibilityComponent.CustomContent]An array of custom content objects that deliver accessibility information. Use the Custom Content API to leverage assistive technologies to deliver complex data sets to users in measured portions when they need it.
get systemActions(): AccessibilityComponent_SupportedActionsSwift declarationvar systemActions: AccessibilityComponent.SupportedActionsThe set of supported accessibility actions.
set systemActions(value: AccessibilityComponent_SupportedActions)Swift declarationvar systemActions: AccessibilityComponent.SupportedActionsThe set of supported accessibility actions.
get label(): (_Foundation_LocalizedStringResource) | nullSwift declarationvar label: LocalizedStringResource?A succinct label that identifies the entity, in a localized string key.
set label(value: (_Foundation_LocalizedStringResource) | null)Swift declarationvar label: LocalizedStringResource?A succinct label that identifies the entity, in a localized string key.
get value(): (_Foundation_LocalizedStringResource) | nullSwift declarationvar value: LocalizedStringResource?A localized string key that represents the current value of the entity.
set value(value: (_Foundation_LocalizedStringResource) | null)Swift declarationvar value: LocalizedStringResource?A localized string key that represents the current value of the entity.
static init(): AccessibilityComponentSwift declarationinit()Creates a new accessibility component with default values.
No declarations were skipped in this snapshot.