- (nullable UIView *)hitTest:(CGPoint)point withEvent:(nullable UIEvent*)event; // recursively calls -pointInside:withEvent:. point is in the receiver's coordinate system
- (BOOL)pointInside:(CGPoint)point withEvent:(nullableUIEvent*)event; // default returns YES if point is in bounds
网友评论