Instance Property


An array of the accessibility elements in the container.


var accessibilityElements: [Any]? { get set }


Containers can implement this property instead of the dynamic methods to support the retrieval of the contained elements. The default value of this property is nil.

See Also

Providing Information About Accessibility Elements

func accessibilityElementCount() -> Int

Returns the number of accessibility elements in the container.

func accessibilityElement(at: Int) -> Any?

Returns the accessibility element at the specified index.

func index(ofAccessibilityElement: Any) -> Int

Returns the index of the specified accessibility element.