uigesturerecognizer Questions

4

Solved

I have printed a UITableviewCell's gesture in – tableView:didSelectRowAtIndexPath method in NSLog as <UIScrollViewPanGestureRecognizer: 0x11e92080; state = Possible; cancelsTouchesInView = NO;...
Vassaux asked 27/11, 2013 at 11:0

7

In my UINavigationController I added custom back buttons with the side effect that it is not possible anymore to swipe left to right to pop the view controller and navigate back. So I implemented ...
Pruter asked 9/1, 2016 at 19:36

4

I have a UIView called view1. view1 has a subview called subview. I added UITapGestureRecognizer to subview as follow: UITapGestureRecognizer *recognizer = [[UITapGestureRecognizer alloc]initWithT...

9

Solved

I created a Slider (operating as control of the video, like YouTube has at the bottom) and set the maximum (duration) and minimum values. And then used SeekToTime to change the currentTime. Now, th...

2

Solved

I'm making an iOS8 app using Swift. I'd like the user to be able to use gestures to reveal certain parts of the interface. So for example, the user slides their finger up and the view they slid the...
Wouldbe asked 26/8, 2014 at 10:26

1

I am researching about how to detect a finger move into a view in React Native. For example, I have a single view in screen. My finger press outside the view and slowly move to the view. The view c...

17

Solved

In iOS 13 modal presentations using the form and page sheet style can be dismissed with a pan down gesture. This is problematic in one of my form sheets because the user draws into this box which i...
Irmine asked 22/6, 2019 at 19:36

8

Solved

I would like to figure out how to println the indexPath of a UICollectionViewCell when I long press on a cell. How can I do that in Swift? I have looked all over for an example of how to do this;...
Adam asked 24/3, 2015 at 19:55

25

Solved

In my case parent UIViewController contains UIPageViewController which contains UINavigationController which contains UIViewController. I need to add a swipe gesture to the last view controller, bu...
Proclivity asked 28/2, 2014 at 14:55

7

Solved

I am adding a UISwipeGestureRecognizer and a UITapGestureRecognizer to a view in a view controller's viewDidLoad method. - (void)viewDidLoad { [super viewDidLoad]; [self.view addGestureRecognize...
Phosgene asked 22/5, 2013 at 4:50

4

Solved

I want to get a callback when my UIPinchGestureRecognizer finished a pinch-gesture. Moreover it would be great to know if the finished gesture was a zoom in or a zoom out. Does anyone know a metho...
Lianaliane asked 18/7, 2010 at 9:30

13

Solved

UITapGestureRecognizer *tapGesture = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapTapTap:)]; [self.view1 addGestureRecognizer:tapGesture]; [self.view2 addGestureRecognize...
Enough asked 20/1, 2011 at 12:41

2

Solved

I have used UIPinchGestureRecognizer UIPanGestureRecognizer & UIRotationGestureRecognizer with UILabel to achieve Instagram like zoom and drag functionality. Now I would like to show layout gui...
Legitimate asked 29/12, 2018 at 5:56

3

What are the standard UISystemGestureGateGestureRecognizers installed on the top level UIView of an iOS app for? My app consists of two views - one fills the top half of the screen, the other is a...
Screw asked 5/11, 2013 at 22:4

1

Solved

So I asked a different question before, and arrived at a partial solution. I was able to add gestures to ONE of the two model entities on one scene, but not the other. Because when you print the sc...

4

Solved

Using UICollectionView, is it possible to select multiple cells by dragging your finger over a few of them? E.g., if you drag your finger over a row of 6, and down into the next row, it would selec...
Felishafelita asked 9/12, 2014 at 23:20

4

Solved

I have a vertically-scrolling UIScrollView. I want to also handle horizontal pans on it, while allowing the default vertical scroll behavior. I've put a transparent UIView over the scroll view, and...

5

Solved

For example I have a view where I want two different gestures: tap to do action A. double tap to do action B. The problem is with UITapGestureRecognizer I can only set minimum required tap count....
Avouch asked 1/10, 2013 at 23:9

1

My iOS Swift 5 (Xcode 14.1) app is humming along. After the last Xcode update, I noticed that when I push a particular view controller with a table view inside a stack, inside a navigation controll...
Eward asked 11/11, 2022 at 20:33

7

Solved

When a user long-press inside UIWebView, there is a Copy & Paste popup. Is it possible to disable the system from popup the Copy & Paste function, but still allow the user to click on links...
Simian asked 13/7, 2011 at 8:48

4

I have a uiview with multipe buttons and images on it. I drag that card kind of like a tinder interface. I want to be able stop the user dragging the card at some points and allow them at others. ...
Paint asked 29/8, 2016 at 13:42

2

Solved

I'm using google_maps_flutter and wish to perform an action when the user performs a gesture on the map, whether it be zoom/tilt/move/rotate. However I'm unable to use the onCameraMoveStarted prope...
Extensor asked 16/7, 2019 at 15:49

4

Solved

So Im making a page with pageControl (it's a page with multiple views with dots indicating which page you're in), my code looks like the following in viewDidLoad: UISwipeGestureRecognizer *swipe =...
Joanniejoao asked 16/6, 2014 at 17:34

3

Solved

Task Add a single tap gesture to UICollectionView, do not get in the way of cell selection. I want some other taps on the no-cell part of the collectionView. Code Using XCode8, Swift 3. overr...

2

Solved

I have a view to which I've added both a pan and long press UIGestureRecognizer. The pan is used to move the view around. What I'd like to do is notice also that the touch has stopped moving (while...
Banter asked 12/4, 2014 at 4:19

© 2022 - 2025 — McMap. All rights reserved.