Yes - I landed up putting the a call to my method inside the pointInside:withEvent:
method before returning. It now picks up all touches underneath the view and performs my method.
UIView touchesBegan:withEvent: respond AND forward
-
26-06-2022 - |
Вопрос
I have a UIView
overlaying a UIViewController. I want to receive all touches and hide the view but still have all underlying controls respond as per usual.
I am using touchesBegan:withEvent:
and receiving the touches no problem.
I can forward the touches using pointInside:withEvent:
.
However I can't receive and foward at the same time, is this possible?
Решение
Не связан с StackOverflow