I need to collect all touch data from the touch screen (touch location, type, timestamp, force, and other interaction with touch screen) in an application running on the operating system iOS.
But my problem is that such function as touchesBegan
, touchesMoved
and touchesEnded
work only for views and do not work when I use scroll (when content is larger than the size of the application's window).
I can recognise tap gesture almost on all controllers, but now, I am interested in getting data from touchesMoved
. Is it possible?
As soon as the scroll bar appears, the touchesMoved
stop working. How can I implement the task of collecting all touch data from touch screen? I'd like to limit the coordinate plane by the phone screen, if it is possible.