I try to get touch position when I scroll the screen.
I try to get it from touchBegin() but I can’t.
That’s because touchBegin never called during scroll.
How can I solve this problem???
Quickly Answer to me.
I try to get touch position when I scroll the screen. I try to
Share
I found my self it solution.
First, I set the scrollView.contentSize to scrollView.frame. so it can’t call scrollViewDidScroll
Second, when touchesBegan set the scrollView.contentSize what I want. then the event will go to scrollViewDidScroll. You can act something.
Thrid, in scrollViewDidEndDecelerating set the contentSize and save the contentOffest;
This will be pathetic way. If you know other, please teach me