Instance Method

accessibilityElementCount()

Returns the number of accessibility elements in the container.

Declaration

func accessibilityElementCount() -> Int

Return Value

The number of accessibility elements in the container. By default, this method returns 0.

See Also

Providing Information About Accessibility Elements

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.

var accessibilityElements: [Any]?

An array of the accessibility elements in the container.

var accessibilityContainerType: UIAccessibilityContainerType

The type of container used for accessibility elements, such as tables or lists.

enum UIAccessibilityContainerType

Constants indicating the type of content stored in a data-based container.