objective c - Get Speed of UISwipeGestureRecognizer - Custom Gesture Recogniser? -


I have an app that plays video I want to control the video by gesture i. Swipe left-to-right-to-left-right-for-right swipe

, but it was when this project was but there was no idea. Now I sit down and sign it that I do not know.

The respondent said that I may need to create a custom gesture identifier to achieve the speed of the blow, I want to speed up the speed of the video.

Any ideas how would I go about it?

I have never created or configured a gesture identifier before, so I do not know how to go about it?

What I really want is a way of handling start and end methods, I think I can get a timer running between two and do the work of X end and expert. To calculate Y, y will help by any help, code-samples and preferences.

Cheers

One way to touch time difference and and touched and . Using these two numbers, you can calculate "pixels per second", or similar. Then you can use the magnitude of the result to act as a coefficient of motion of the video.

Comments