uipangesturerecognizer Questions

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...

4

Solved

I'm trying to replicate the swipe to delete functionality of iOS. I know it's instantly available on a tableview, but the UI that I need to build benefits from a Collection View. Therefor I need a ...
Abbess asked 6/8, 2016 at 11:9

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...

3

I have been experimenting with custom interactive view controller presentation and dismissal (using a combination of UIPresentationController, UIPercentDrivenInteractiveTransition, UIViewController...

0

Currently, I am building an app that contains a feature that uses a UIPanGestureRecognizer. Previously, I used an Intel Mac, and the UIPanGestureRecognizer velocity attribute is working correctly a...
Polarize asked 17/12, 2021 at 8:26

2

Solved

My question: Is there a way to adjust the "sensitivity" of UIPanGestureRecognizer so that it turns on 'sooner', i.e. after moving a fewer number of 'pixels'? I have a simple app with a UIImageView...
Crisper asked 21/8, 2015 at 0:24

1

Solved

The Problem I have a UIScrollView containing a UIView that I wish to allow the user to pan using a UIPanGestureRecognizer. In order for this to work as desired, users should be able to pan the view...

4

Solved

I have a scroll view and I want to make it disappear whenever a pan is done. It works fine and on panning the scroll view disappears but the problem is now I can't scroll the contents. [UIView anim...
Marler asked 4/2, 2012 at 9:0

7

Solved

I d'like to combine a UILongPressGestureRecognizer with a UIPanGestureRecognizer. The UIPanGestureRecognizer should start with a long press. Is there a simple way to do this? or do I really have ...

2

Solved

iOS 7 provides for a UIScreenEdgePanGestureRecognizer which detects swipes in from edges of the screen. Can this gesture be simulated using the iOS7 simulator in Xcode? Clicking and dragging outsid...
Allantois asked 1/10, 2013 at 22:56

3

How to animate constraint change smoothly with pan gesture in iOS? I am trying to develop a screen, where a view is at bottom of the screen. And I've added pan gesture to that view. On dragging...

0

I am having trouble using the Hero Library to dismiss my ViewController with custom animation. In the end I would like to have pretty much the exact same animation as in this video: preferred di...
Paramount asked 10/1, 2020 at 15:41

3

Solved

I am trying to move a sub view across the screen which works, but i also want to add inertia or momentum to the object. My UIPanGestureRecognizer code that i already have is below. Thanks in adva...
Robinet asked 13/6, 2013 at 9:25

3

Solved

I'm wondering if it is actually possible to use a UIPanGestureRecognizer on a pushed UIViewController to achieve a similar behaviour like in the Telegram messenger chat view (and a lot of other pop...
Zeringue asked 14/6, 2019 at 21:52

4

Solved

I have a UICollectionView. I want to detect scroll direction. I have a two different animation style for scroll down and scroll up. So I must learn scroll direction. CGPoint scrollVelocity = [self...

4

Solved

I added to my main UIView a subview (called panel) and i added gestureRecognizer to it because i want it to be draggable only for the Y axis and only for certain limits (i.e. 160, 300, over 300 it ...
Stanislaw asked 11/7, 2012 at 20:13

2

Solved

When using UIPanGestureRecognizer and detecting UIGestureRecognizerStateEnded, then the velocity of the gesture is not the true velocity. Instead, it's the old velocity of the previous invocation o...
Shinbone asked 30/9, 2013 at 10:51

3

Solved

I have two horizontal UIScrollviews. I want to synchronise their scrolling when user drag fingers in either of them. Here is my code: self.topScrollView = [[UIScrollView alloc] initWithFrame:CGRec...
Burgher asked 22/5, 2015 at 13:44

3

Solved

I have a UIPanGuestureRecognizer added to the entire view using this code: UIPanGestureRecognizer *pgr = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(panAction:)]; [[self v...
Baileybailie asked 22/8, 2013 at 0:31

5

Solved

I am new to iOS, I am using UIPanGestureRecognizer in my project. In which I have a requirement to get current touch point and previous touch point when I am dragging the view. I am struggling to g...
Phagocytosis asked 7/11, 2012 at 12:45

7

Solved

I am new to ios, so I apologize in advance if I am missing something obvious. I am creating a puzzle where I would like the individual puzzle pieces to increase in size on touch and decrease on le...
Amando asked 12/7, 2013 at 18:12

3

Solved

I have a view that has panGesture functionality, but I need to send a pan-gesture from one point to another programatically. Is there a way to do this in swift using an animation with a specific ti...
Marylynnmarylynne asked 3/9, 2015 at 6:57

3

Solved

I am adding subviews to a UIScrollView and then I add UIPanGestureRecognizer to these subviews. Everything works fine but now after adding UIPanGestureRecognizer to subviews of the scroll view, scr...
Balsaminaceous asked 4/2, 2012 at 12:17

3

I'm trying to add a pan gesture recognizer to a view containing a scrollview, but I guess I've problems with priorities. My global UIView has a UIPanGestureRecognizer set like this: _bottomPanGes...
Selfregulated asked 1/2, 2013 at 16:42

2

Solved

In my app I'm dismissing a viewController using a UIPercentDrivenInteractiveTransition triggered by a pan gesture. I'm expecting my viewController to be dragged to the right as I'm panning it. Howe...
Heavierthanair asked 12/1, 2018 at 10:26

© 2022 - 2024 — McMap. All rights reserved.