Saturday, 17 August 2013

Detect touches for 2 subviews

Detect touches for 2 subviews

I have a UIView sitting atop a UIScrollView.
I'd like to be able to scroll my ScrollView normally while having my
UIView catch:
- (void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
The only issue is I cannot seem to get both subviews to detect touches at
the same time. I can set the top one to userInteractionEnabled to NO. But
that doesnt really help me get them both.
Any thoughts??
Thanks!

No comments:

Post a Comment