views:

113

answers:

1

I have a scroll view with transparent background that covers most of the screen. It also covers some buttons that still need to be tap-able. How can I make sure that the scroll view doesn't respond to touches in regions where the subview image is transparent?

A: 

You could try to override hitTest:withEvent: in your scroll view.

Nikolai Ruhe
Thanks a lot. The solution for me was overriding- (BOOL)pointInside:(CGPoint)point withEvent:(UIEvent *)event;
olegam