Top "Uigesturerecognizer" questions

UIGestureRecognizer is an abstract base class for concrete gesture-recognizer classes.

How to call gesture tap on UIView programmatically in swift

I have a UIView and and I have added tap gesture to it: let tap = UITapGestureRecognizer(target: self, action: Selector("…

ios swift iphone ios8 uigesturerecognizer
How to disable back swipe gesture in UINavigationController on iOS 7

In iOS 7 Apple added a new default navigation behavior. You can swipe from the left edge of the screen to …

ios objective-c uinavigationcontroller uigesturerecognizer ios7
tap gesture recognizer - which object was tapped?

I'm new to gesture recognizers so maybe this question sounds silly: I'm assigning tap gesture recognizers to a bunch of …

ios objective-c uigesturerecognizer uitapgesturerecognizer
UIGestureRecognizer on UIImageView

I have a UIImageView, which I want to be able to resize and rotate etc. Can a UIGestureRecognizer be added …

ios objective-c uiimageview uigesturerecognizer
UITapGestureRecognizer - single tap and double tap

I am trying to add 2 UITapGestureRecognizers to a view, one for single tap and one for double tap events. The …

ios iphone uigesturerecognizer uitapgesturerecognizer
UILongPressGestureRecognizer gets called twice when pressing down

I am detecting if the user has pressed down for 2 seconds: UILongPressGestureRecognizer *longPress = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(handleLongPress:)]; …

iphone objective-c cocoa-touch gesture-recognition uigesturerecognizer
How do I Disable the swipe gesture of UIPageViewController?

In my case parent UIViewController contains UIPageViewController which contains UINavigationController which contains UIViewController. I need to add a swipe gesture …

ios uiviewcontroller uigesturerecognizer uipageviewcontroller
Gesture recognizer and button actions

I have a view hierarchy that looks something like this: UIView (A) UIView > UIImageView UIView > UIView (B) UIView &…

iphone uibutton conflict uigesturerecognizer ibaction
How do I implement the UITapGestureRecognizer into my application

I am quite new to programming and Objective C. I was wondering how to make an app which has a …

ios objective-c user-interface uigesturerecognizer uitapgesturerecognizer
Can you attach a UIGestureRecognizer to multiple views?

UITapGestureRecognizer *tapGesture = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapTapTap:)]; [self.view1 addGestureRecognizer:tapGesture]; [self.view2 addGestureRecognizer:tapGesture]; [tapGesture release]; In …

ios objective-c uigesturerecognizer