- Sort Posts
- 6 replies
- Last post
Hi, I use apple gesture
Hi, I use apple gesture recognizers.
I found these tutorial:
pinch
Hi NaliS,
in the sample there is a call to a touchbegan function but I can't find a recognizer for this kind of event in the code.
I have read the tutorial and I can't understand how and where I have to add the pinch gesture recognizer in the sample code.
Can you please give more suggestions?
Thanks
pinch
If you look in the overlayviewcontroller then you can see how it checks for the user touching / tapping the screen.
Essentially you can look how others are using gesture recognition and apply it here, so that it affects the augmentation scale and rotation.
Here is a pretty good tutorial on this topic, though you will have to do some work to apply it to the sample code:
http://www.raywenderlich.com/6567/uigesturerecognizer-tutorial-in-ios-5-pinches-pans-and-more
HTH
N
Very helpful :)
N