开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜