Instance Method

accessibilitySelectedChildren()

Returns the layout area’s currently selected children.

Required.

Declaration

func accessibilitySelectedChildren() -> [Any]?

Return Value

An array containing the currently selected children. If no children are selected, this method returns an empty array.

Discussion

This method is the getter for the NSAccessibilityProtocol protocol’s accessibilitySelectedChildren property.

See Also

Accessibility Methods

func accessibilityChildren() -> [Any]?

Returns this element’s children in the accessibility hierarchy.

Required.

var accessibilityFocusedUIElement: Any

Returns the child element with the current focus.

Required.

func accessibilityLabel() -> String

Returns a short description of the layout area.

Required.