iPhone: Click view behind transparent UIScrollView

后端 未结 2 1647
清酒与你
清酒与你 2021-02-13 14:36

I have a UIScrollView that is set to have a clear background. Part of the scrollview does have content, but part does not (so it shows other views behind it). I would like to

2条回答
  •  旧时难觅i
    2021-02-13 15:03

    Basically, it's up to you to determine what touch events you care to forward to another responder. If you simply want to forward all touch events, just remove that if statement in the code you posted so the next responder will receive all the touch events.

提交回复
热议问题