TGCameraViewController icon indicating copy to clipboard operation
TGCameraViewController copied to clipboard

Add zoom using PinchGesture

Open JosueSierra12 opened this issue 6 years ago • 6 comments

JosueSierra12 avatar Mar 29 '18 19:03 JosueSierra12

Thanks @JosueSierra12! Question: Whats the best way to slow down the zoom speed during the pinch?

AdrianCatuna avatar Apr 02 '18 16:04 AdrianCatuna

The class has a parameter called "pinchVelocityDividerFactor" that can be modified depending on the zoom you want

JosueSierra12 avatar Apr 02 '18 19:04 JosueSierra12

Thanks @JosueSierra12, I will mess with that parameter again. I though I did and it did not work for me, but I'll give it another try.

AdrianCatuna avatar Apr 02 '18 19:04 AdrianCatuna

@JosueSierra12, the "pinchVelocityDividerFactor" worked. I was just not increasing it by enough the first time. Thanks!

AdrianCatuna avatar Apr 04 '18 03:04 AdrianCatuna

excellent!, the zoom will be very useful in the library, excellent library!

JosueSierra12 avatar Apr 04 '18 23:04 JosueSierra12

Hey @JosueSierra12, this is very useful, I needed exactly this. Well done 👍 . @Adrian1kat can you merge?

alexescg avatar Apr 10 '18 16:04 alexescg