Tap through transparent part of UIScrollView
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?
You could try to override hitTest:withEvent:
in your scroll view.
精彩评论