i try to use UILongPressGestureRecognizer in my App and the problem is that this function call only when i move my finger a little bit.
this is the code i am using :
UILongPressGestureRecognizer *longPress = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(doRewind)];
[uiNextButton addGestureRecognizer:longPress];
Your UILongPressGestureRecognizer has been created with the bare minimum of configuration information. At a minimum you should look into setting these properties:
And in special cases you can also set:
In your case I think you want to set the allowableMovement to 0, the default value is 10 (pixels). You can read more from the class reference I linked.