All Questions
Tagged with gesture objective-c
127
questions
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 ...
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....
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 ...
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:-
...
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 ...
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 ...
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 ...
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 ...
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 !
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,...
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;
...
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 ...
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 ...
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 ...
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 ...