I have the following setup.
+- XXXCustomControl : UIControl -------+ | A | | +- ContentView -------------------+| | |
You can subclass your subview, and implement
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { if (!touchedContent) { [[self nextResponder] touchesBegan:touches withEvent:event]; } else { [super touchesBegan:touches withEvent:event]; } }