Skip to main content

All Questions

Tagged with
0 votes
1 answer
75 views

why the "shouldReceiveTouch" returns "NO", the "PanGesture" still works?

Such as title, I have a superView A and a childView B. The A has a panGestureRecognizer. When I swipe the B, it will trigger the panGestureRecognizer of A. So I return No in the shouldReceiveTouch of ...
Grayson's user avatar
  • 39
0 votes
0 answers
24 views

UILongPressGestureRecognizer does not work on Custom MKMapViewAnnotation

I have a custom pin.UILongPressGestureRecognizer does not work on that pin as I implemented as below, any ideas? - (void)handleLongPress:(UILongPressGestureRecognizer *)sender { if (sender....
Kaan Vural's user avatar
0 votes
1 answer
102 views

Rotation gesture changing view frame

What I want to achieve: I want to create a copy of selected view. I have two UIImageViews on UIView. I am selecting both the views and want to clone both the views. Everything is working fine until ...
sanjeet's user avatar
  • 1,539
1 vote
2 answers
143 views

Multiple UITapGestureRecognizer not working on UIScrollView

I want to add multiple UITapGestureRecognizer on UIScrollView but it recognise only one gesture. I want to add first gesture for touch begin and second one for touch end event. Following is my code:- ...
Bhaumik Surani's user avatar
0 votes
1 answer
94 views

IOS/Objective-C/Storyboard: Gesture Recognizer Accessible to Whole App with Tabbar Possible?

I would like to create a gesture recognizer that would be available across an entire app to give users access to a shortcut/help menu wherever they are. However, as the app has many screens, I don't ...
user6631314's user avatar
  • 1,900
0 votes
1 answer
37 views

iOS Let UIGestureGestureRecognizer failed for other UIGestureGestureRecognizer?

I write UIView class called myView1 by extending one exit View called myView2. it has registered one UITapGestureRecognizer (called tap2) in myView2, and I also want to register one ...
jiabao's user avatar
  • 105
3 votes
2 answers
2k views

Swipe Gesture on UITableview Cell Like Whtsapp does for "Reply a Message"

How can we implement swipe gesture on tableview cell and move the tableview cell as the finger moves from left to right? I am able to add the swipe gesture but moving the cell is something I want to ...
Pallavi's user avatar
  • 45
0 votes
1 answer
239 views

Objective C change pinch gesture view

I'm stuck with a problem with pinch gesture. So I have a pinch gesture on an UIImageView which is itself in a collectionView, and when the user starts zooming, I add new, separates ViewController to ...
Ben Benson's user avatar
13 votes
4 answers
2k views

Detect 3 fingers pan gesture even outside a macOS app's window perpetually

How can I detect a 3 fingers pan gesture on my mac trackpad everywhere on the screen (not only in my app's window) perpetually (without having the focus on my app's window) ? Thanks !
Jonathan's user avatar
  • 913
0 votes
0 answers
1k views

Automatic swipe left/right gesture iOS

Here is the thing: I have a ViewController, inside of him I displayed 3 cards, each one is a ViewController and has a .xib, cards are shown like in Tinder App, like a stack of cards. My question is,...
Hugo_hutch's user avatar
1 vote
2 answers
1k views

Why is gestureRecognizerShouldBegin called multiple times?

I made gesture like this: UITapGestureRecognizer *tapGesture = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapOnPhoto:)]; tapGesture.numberOfTapsRequired = 1; ...
reza_khalafi's user avatar
  • 6,494
0 votes
2 answers
915 views

Full screen image view on tap via UICollectionView

I have a JSON UICollectionView section of my app. My original idea for the code has changed and now I simply want the image selected to appear full screen as a 'lightbox' styled effect with full zoom ...
user6934446's user avatar
0 votes
3 answers
295 views

How can I detect scrolling for update before end dragging event in iOS?

I want to add update gesture in some views in my iOS application Usually this gesture is scroll above top and hold for some small time I could make just gesture handler that works if user did hold ...
General Failure's user avatar
1 vote
2 answers
124 views

I want to get notified on all gestures that happen in my iOS app

I am trying to get notified on all kinds of gesture that happen on my iOS app. To be precise: I want to see how my users are interacting with my app It helps me to see if my controls are well made ...
Alex Rondham's user avatar
2 votes
1 answer
1k views

How to implement Z Gesture to dismiss an alert or go to previous screen in voiceOver for iOS?

To dismiss an alert while in voiceOver mode, Z gesture is used. Anyone please let me know how to implement that for my project or provide a link which has an example for how to implement that in ...
iking's user avatar
  • 31

15 30 50 per page
1
2 3 4 5
9