Questions tagged [pinch]
237 questions
51
votes
6 answers
Disable Chrome pinch zoom for use in kiosk
We are using Chrome in kiosk mode and accidentally users are causing the application to zoom with the recent addition of pinch zoom support.
They then think they've broken it and simply walk away leaving the application (and subsequently a 55"…

Dennis Smolek
- 8,480
- 7
- 30
- 39
38
votes
2 answers
Simulating pinches on iPad-Simulator
I'm currently trying to implement the handling of (2-finger-)pinches on an iPad display. Doing so I came across the problem that the fingers (represented by by two grey circles in the iPhone-simulator) won't show up in the simulator for iPad. Even…

pasql
- 3,815
- 5
- 23
- 33
30
votes
7 answers
android imageView: setting drag and pinch zoom parameters
I am currently developing for Android (my first app) an application which lets users see the subway map and be able to pinch zoom and drag around.
I am currently modifying the code found in Hello Android, 3rd Edition and got the pinch zooming and…

w1ck3d64
- 402
- 2
- 8
- 15
24
votes
5 answers
UIImageView Gestures (Zoom, Rotate) Question
I would like to make 2 operations to an UIImageView zoom, rotate, I have 2 problems:
A. I make an operation for zoom for ex. and when I try to make rotation the UIImageView is set to initial size, I would like to know how to keep the zoomed…

john Stilkowicz
- 297
- 1
- 5
- 12
21
votes
6 answers
Double-tap to zoom and pinch to zoom on ImageView in android
I was looking for iphone like tap and pinch zooming with android ImageView. Mike Ortiz have done some excellent work on TouchImageView to detect boundaries. His code can be found here.
This code is missing only one thing, i.e., double-tap to zoom. …

Mazhar
- 366
- 1
- 2
- 13
19
votes
2 answers
Observing pinch multi-touch gestures in a UITableView
I am looking to implement a pinch in/out on top of a UITableView, I have looked at several methods including this one:
Similar question
But while I can create a UIViewTouch object and overlay it onto my UITableView, scroll events are not being…
user243562
17
votes
2 answers
Android ImageViewer class supporting Pinch-Zoom and Scrolling
I am searching an ImageViewer library that opens an image in my application for a given URI (the image fetched by a webservice is already stored within my application in a secured place). I really like the "Samsung Galaxy S" ImageViewer-Activity…

tim.kaufner
- 1,247
- 5
- 13
- 22
16
votes
3 answers
How pinch zoom image in image zoom android?
I have to display image in an imageview.
And what I want to do is just simply pinch and zoom functionality on imageview.

Wishy
- 391
- 2
- 6
- 18
14
votes
2 answers
Detecting pinch in Android
I would like to handle pinch events in my Android application to zoom in and out.
I believe Android 2.0 has multi-touch functionality, and heard that Android 1.6 might or might not support it depending of the device.
What's the best way to detect…

hpique
- 119,096
- 131
- 338
- 476
14
votes
4 answers
Zoom and Panning ImageView Android
I have created a zoom and pan class for an ImageView.
Features I am trying to create.
- It pans on single finger touch and movement
- It zooms and pans on two finger touch and movement
For the most part this works very well.
It has a slight bug when…

Hank
- 2,456
- 3
- 35
- 83
12
votes
3 answers
Scale of UIPinchGestureRecognizer in horizontal and vertical directions separately
When using UIPinchGestureRecognizer what is the best way to detect/read the pinch scale in horizontal and vertical directions individually? I saw this post
UIPinchGestureRecognizer Scale view in different x and y directions
but I noticed there were…

Dogahe
- 1,380
- 2
- 20
- 50
11
votes
4 answers
How to do pinch gestures on the iPhone?
How does one implement pinch gestures on the iPhone? I'm familiar with using touch events on the iPhone but I'm extremely lazy and don't want to re-invent the wheel for something as widespread as PINCH gestures...Source code or links thereto would…

RexOnRoids
- 14,002
- 33
- 96
- 136
10
votes
2 answers
detecting pinch to zoom on iOS
I am trying to detect a pinch to zoom event on iOS (and Android really) because I am using jQuery Mobile to show pages with a fixed header. In a dream world what I'd like is for the header not to zoom but for the rest of the page to do so. But I…

David O'Sullivan
- 2,969
- 4
- 21
- 24
10
votes
0 answers
Ionic3 Gesture pinch pan and rotate together
I want to create a draggable / resizable / rotatable component in Ionic2.pan and pinch events are working great, but rotate has a strange behaviour: if I touch the component with two fingers, but without doing any kind of rotation, I will still get…

Guillaume
- 2,912
- 3
- 35
- 59
10
votes
4 answers
How can I find out when a pinch gesture is finished (UIGestureRecognizer)
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 method to use? Or the approach to do?
Thanks!

Lars Petersen
- 602
- 9
- 21