Returns the farthest descendant of the receiver in the layer hierarchy (including itself) that contains a specified point.
- Core Animation
A point in the coordinate system of the receiver's superlayer.
The layer that contains
nil if the point lies outside the receiver’s bounds rectangle.
Transform layers do not support hit-testing. As a result, you should not send
hit messages to transform layers.