Contents

accessibilityHitTest(_:)

Returns the frontmost user interface element in the element hierarchy.

Declaration

func accessibilityHitTest(_ point: CGPoint) -> Any?

Parameters

  • point:

    Relative to the bottom-left of the screen, in screen points, and guaranteed to lie within the receiver.

Discussion

Override this method to implement your own, deeper hit testing within a user interface element.

See Also

Providing Accessibility