Contents

accessibilityAddChildElement(_:)

Adds a child to the accessibility element in the accessibility hierarchy.

Declaration

func accessibilityAddChildElement(_ childElement: NSAccessibilityElement)

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