hitTestwithEvent
hitTest:withEvent: is a method defined on UIView in UIKit and is used to determine which view in the current view hierarchy should receive a touch event. It is part of the event delivery process that routes touches from the window to the appropriate view.
During event dispatch, hitTest:withEvent: is called on the root view and recursively traverses the hierarchy to
If eligible, the method iterates over the receiver’s subviews in reverse order (frontmost first). For each subview,
If no subview handles the event, the receiver itself may be chosen if it can handle touches.
Override notes: Developers may override hitTest:withEvent: to customize how touches are routed, such as ignoring touches