Questions tagged [pinch]

237 questions
0
votes
1 answer

adding zoom in zoom out function

i have written this code for loading multiple of images from url one by and swiping effect on images.....but now i need to zoom in & out the images on finger spread...i think pinch zoom...i am unable to implement the zooming function..also confused…
sunny
  • 164
  • 4
  • 17
0
votes
1 answer

HOWto pinching to zoom on a UIWebView [JS-callback] iPhone, iPod Touch, iPad

in a Web view I use this code for Zoom : Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco…
ikanimo
  • 21
  • 2
0
votes
2 answers

How to get pinch zoom to work on RelativeLayout? - Android

In my case I have RelativeLayout which contains many EditText boxes and lines between them. What I need now is to get Zoom work on this. I have googled a lot(in days) and I haven't found the answer how to do this. Firstly it would be easiest to all…
lehtu
  • 868
  • 1
  • 12
  • 27
0
votes
1 answer

How can pinch zoom my image which showing from viewpager adapter

Hey guys i am trying to create a IMAGE gallery, but i am having trouble in pinch zoom my image Gestures,after the user will clicked the image open new activity and show that image its working like as swipe selected image but i want to pinch zoom…
AyanApps
  • 3
  • 2
0
votes
1 answer

Zooming limit in unity mobile. Perspective Camera

I'm trying to limit the zoom value of my game to a minimum and a maximum but i can't get how to do it! I've been trying by limiting the Y according to the zoom factor but it does not work properly, because when it reaches the limit, it starts…
Nicokam
  • 1
  • 2
0
votes
0 answers

PWA, how to pinch and zoom in content of site on iOS?

On iOS, I have added my website to Home Screen. After that, i run the website by shortcut, i cannot pinch and zoom in content of site. However, i can do that if run the website via Safari. I have added those but still not work.
0
votes
1 answer

How can i enable pinching and stretching on my app's UI

I've a table layout with a textview in it. As the texts within every row are small enough to fit into the screen, I want my users to be able to pinch and stretch the screen so that they can zoom in. But, currently that feature is not working by…
aby
  • 810
  • 6
  • 21
  • 36
0
votes
2 answers

Implementing a Gallery with pinch zoom

I have a gallery of images and I'm trying to enable pinch zoom on it. Separately, they work just fine. The problem is, I can't for the life of me bind the two of them together! I tried to bind the ImageZoomView in the ImageAdapter, to no avail.…
Lathspell
  • 3
  • 1
  • 2
0
votes
2 answers

Swift pinch to zoom

I'm trying to add an image and scrollview programmatically to swift, and then allow them to be pinched to zoom. I've followed the instructions from UIImageView pinch zoom swift but am still not able to pinch to zoom, I'm not sure what I'm…
0
votes
1 answer

Prevent pinchgesture zooming out of original frame

Is it possible to prevent UIPinchGestureRecognizer zooming out of the original frame? I know this can easily be done by using a UIScrollView, but that is not possible in this case. I am currently using this to transform the view; UIView *piece =…
Thizzer
  • 16,153
  • 28
  • 98
  • 139
0
votes
1 answer

pinch zoom in does not work when it first zooms - ios

I have UIImageView as a subView of UIScrollView. let newImageView = UIImageView(image: imageView.image) newImageView.contentMode = .scaleAspectFit newImageView.isUserInteractionEnabled = true let tap = UITapGestureRecognizer(target: self, action:…
0
votes
0 answers

Use features introduced in a later SDK version in an earlier version

I want to implement a pinch to zoom function in one of my apps, my problem is that this is only supported by Android 2.2 and most but not all of my user base is 2.1. So my question is, can I implement this feature without causing incompatibility…
Mitchell
  • 929
  • 2
  • 11
  • 34
0
votes
1 answer

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 control the zoom and pan gestures on the image, so…
Ben Benson
  • 33
  • 3
0
votes
1 answer

subviews do not resize with pinch gestures

I have several subviews added to a UIScrollview. Every thing works fine when swiping left and right, ie the subviews move with the swipe. When I use the pinch gestures the subviews do not zoom in and out with the other contents of the scrollview.…
user278859
  • 10,379
  • 12
  • 51
  • 74
0
votes
3 answers

Pinch to Zoom on ListBox on windows phone 7

I am trying to add pinch to zoom feature to a data bound ListBox. What is the most efficient way to do this? I have placed the ListBox inside a Grid control and made it scrollable. This is my current code.
Daniel
  • 1
  • 1