Detect if certain UIView was touched amongst other UIViews
In order to check whether certain view inside another view was touched you can use hitTest. – (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event; In your custom implementation of touchesBegan check every touch in touches set. The point for hitTest method can be obtained using – (CGPoint)locationInView:(UIView *)view; method, where the view is your superView (the one that … Read more