I am working on an application (its actually a game) that Swipe Gestures should detect. When I view the image, the image for the image must be changed, but, unfortunately, it does not work properly.
When I add a swipe gesture object to self.view, the required action is performed whenever I push my finger anywhere in the view, but I want this action to be performed only when I drag my finger across the image.
On the other hand, when I try to add swipe gestures to the image view, it does not respond to the gesture event.
Please answer if you have a solution to this problem!
Thanks in advance!
source
share