Instance Method

accessibilityAddChildElement:

Adds a child to the element in the accessibility hierarchy.

Declaration

- (void)accessibilityAddChildElement:(NSAccessibilityElement *)childElement;

Parameters

childElement

The child element to be added.

Discussion

Calling this method sets up the proper parent-child relationship between the current element and the provided child element.

See Also

Supporting the Accessibility Hierarchy

+ accessibilityElementWithRole:frame:label:parent:

Instantiates and configures a new accessibility element.

accessibilityFrameInParentSpace

Sets the element’s frame in its parent’s coordinate system.