Instance Method

indexOfAccessibilityElement:

Returns the index of the specified accessibility element.

Declaration

- (NSInteger)indexOfAccessibilityElement:(id)element;

Parameters

element

The accessibility element.

Return Value

The index of the specified accessibility element, or NSNotFound if the element does not exist.

See Also

Providing Information About Accessibility Elements

- accessibilityElementCount

Returns the number of accessibility elements in the container.

- accessibilityElementAtIndex:

Returns the accessibility element at the specified index.

accessibilityElements

An array of the accessibility elements in the container.

accessibilityContainerType

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

UIAccessibilityContainerType

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