uipangesturerecognizer Questions
4
I have a UIScrollView in a UIViewController, which is showed modally by a segue, and an additional UIPanGestureRecognizer do dismiss the view controller by pan. This gesture only works if
scroll...
Consultation asked 28/1, 2018 at 21:48
2
Solved
The question is very simple, how to enable scroll and zoom inside a UIScrollView in tvOS?
I tried the same initializer code from iOS and returned the scrollview for the focusedView var, but nothi...
Hut asked 16/9, 2015 at 0:38
4
Solved
I have a UIImageView which is moveable via a pan gesture.
UIPanGestureRecognizer *pan = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(handlePan:)];
[self.photoMask addGestur...
Interstadial asked 23/7, 2013 at 21:45
3
Solved
I've got a UICollectionView in my UIViewController and I want it to respond to gestures inside AND outside of the UICollectionView. By default the UICollectionView only responds to the gestures ins...
Enfeoff asked 20/9, 2016 at 13:39
3
Solved
I am developing an application where I have used the Pan Gesture as well as Swipe Gesture. So every time I do the Swipe Gesture but the method from the Pan Gesture is always getting called and Swip...
Shuttering asked 2/2, 2011 at 13:55
3
I have a UIScrollView under a transparant UIView. I need to transfer all pans and taps to the scroll view (which only scrolls horizontally). The regular UIView uses a subclass of UIPanGestureRecogn...
Heerlen asked 5/1, 2013 at 22:44
3
Solved
I'm trying to build a complex split view container controller that facilitates two variable height containers, each with their own nested view controller. There's a global pan gesture on the parent...
Bonni asked 15/9, 2017 at 20:1
4
Solved
I am having my UIImageView onto which I am having another UIView rectangle. By applying pan gesture to UIView rectangle it gets outside of UIImageView also. I don't want to be drag outside of UIIma...
Prompter asked 21/8, 2012 at 4:39
4
I'd like to mimic the swipe to delete function of a UITableViewCell just like the mail app in iOS 8. I'm not referring to swipe to reveal a delete button. I'm referring to when you swipe, it discol...
Relativity asked 23/9, 2014 at 19:0
2
Solved
I have the following view (which is a subview of the overall view controller):
lazy var superView: UIView = {
let cv = UIView()
cv.backgroundColor = .gray
cv.translatesAutoresizingMaskIntoCons...
Blamable asked 6/9, 2017 at 6:11
2
I have two UIViews on my ViewController. I added panGesture to first view and when i start moving this view the second view will move towards first view. I want to detect an event when these two vi...
Wader asked 23/7, 2015 at 12:20
1
Solved
I want to implement an interactive transition between two view controllers. I would like it to be a modal or present transition.
I want the app to start out on the first view controller and allow ...
Buckwheat asked 12/2, 2017 at 19:24
1
Solved
I have a black separatorView in the middle of the screen separating a topContainerView (orange) and a bottomContainerView (green). The separatorView can be dragged up and down with a panGesture, bu...
Ondine asked 6/2, 2017 at 21:2
3
Solved
UIPanGestureRecognizer *panRecognizer = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(pan:)];
[self addGestureRecognizer:panRecognizer];
- (void)pan:(UIPanGestureRecognizer ...
Carboxylase asked 12/3, 2012 at 22:25
2
Solved
Is there a way to determine the panning location of a UIPageViewController while sliding left/right? I have been trying to accomplish this but its not working. I have a UIPageViewController added a...
Assumptive asked 9/3, 2015 at 18:46
1
Solved
I’d like a ball to track my finger as I drag it along a circular trajectory for every allowable device orientation on iPhone or iPad. Views appear to be correctly centred when a device is rotated b...
Uzziel asked 30/11, 2016 at 10:16
0
Is it possible to drag an image from a collectionViewCell into a UIView?
I am creating a game where the user can pick a number of items to play with in the next VC. I'm representing each item as a...
Bissau asked 16/11, 2016 at 4:56
7
Solved
I am trying to set up an edge swipe gesture in iOS 8 on iPad but getting and error that seems like a bug.
I have the following code:
UIScreenEdgePanGestureRecognizer *edgeRecognizer = [[UIScreen...
Honeyman asked 6/10, 2014 at 23:11
3
Solved
I'm moving UIView object using UIPanGestureRecognizer — how much I drag my finger on screen, that much I move the view in the same direction (only in X - left or right, Y is not changing). It works...
Malefic asked 23/5, 2012 at 21:24
2
Solved
I am so confused with how to do what I need! Any help is very appreciated! I have an transparent image overlay that has another image behind it that has a UIPanGestureRecognizer and a UIPinchGestur...
Contented asked 26/1, 2016 at 3:30
1
I want to add two fingers swipe up and down gestures in UITableView.
The idea is to scroll through the cells using one finger pan gesture and do some other action by using two fingers swipe up/down...
Cordiacordial asked 17/1, 2016 at 0:8
1
Solved
I have a view that contains a counter.
I have implemented two different gesture recognizers,
a UISwipeGesture to increase the count by one,
and a UIPanGesture in order to increase the count by...
Commodore asked 10/11, 2015 at 18:43
2
Solved
I have a UIScrollView that fills the screen on one page of my app, but I want to allow the user to pan from the edge of the screen to reveal a view behind it. The problem is that the UIScrollView s...
Immaterialize asked 15/2, 2014 at 7:37
2
I have implemented UIPageviewContoller to support multiple viewcontoller view at half bottom of my screen. now my question is how to support Facebook style panning effect to on of this subview on m...
Ferrara asked 4/11, 2014 at 18:13
1
Solved
I have a view that recognizes both a UIPanGesture and a single tap. How do I disable the pan gesture once the view has been tapped? I have tried multiple ways but cannot seem to figure it out. Here...
Unsatisfactory asked 28/8, 2015 at 15:39
© 2022 - 2024 — McMap. All rights reserved.