Instance Method

accessibilityElement(at:)

Returns the accessibility element at the specified index.

Declaration

func accessibilityElement(at index: Int) -> Any?

Parameters

index

The index of the accessibility element.

Return Value

The accessibility element at the specified index, or nil if none exists.

See Also

Providing Information About Accessibility Elements

func accessibilityElementCount()

Returns the number of accessibility elements in the container.

func index(ofAccessibilityElement: Any)

Returns the index of the specified accessibility element.

var accessibilityElements: [Any]?

An array of the accessibility elements in the container.