corona sdk pinch to zoom on image - lua

I have a problem implementing the pinch to zoom function. Basically I have a various range of pictures in my app and I need to implement the pinch to zoom just for some of them. I am new to LUA and I already saw the example they give you on the corona website. I need help implementing that code the way I need, can someone help me?

Related

Adding Zoom-in functionality in ARKit Session(camera view not the AR object)

I am working on an app with ARKit, and want to detect objects at some distance by using ARKit camera session. Could anyone help if we can add any zoom in functionality to the AR Camera view?
Although did not find any concrete answer to this question but, some people suggested to transform the ARView itself which I think cannot be the right solution. Also, few talked about adding gesture on ARView and do some transforming but not accepted. Please help if anyone has any idea.
As per my understanding and experience in ARKit, camera zooming is not supported in ARKit. But you can zoom on the ArView.
Check this link please:
Reference to camera zoom issue ARKit
Another reference regarding scenekit

How to duplicating perspective zoom home screen feature in iOS?

As we all know, iOS 8 having a perspective zoom feature in the home screen which zooms depend on the angle of a device and how it moves.
I want to duplicate that feature inside my app. I found a question to find out the angle of a device here.
How can I determine the angle of the device?
Measuring tilt angle with CMMotionManager
I need to discuss the ideas to zoom the image depend on the angle of a device. Any help would be appreciated.
Edit: It is a duplicate of this question: iOS 7 parallax effect in my view controller
Thanks for you help.
That feature is called a 'parallax effect' and there is built-in support in Cocoa Touch for it. You don't need to re-invent the wheel to add that effect to your apps. Search the web for information on UIInterpolatingMotionEffect. Here, in particular, is Apple's brief documentation on it.

Google Maps iOS SDK: GMSPolyline & GMSMarker Performance Issue

I couldn't find any Google Maps SDK best practices on the inter-webs so I'm asking here. I'm working on an app with a large number of GMSMarkers (200+) and GMSPolylines (9000+). When I load all of them the map scrolling & zooming becomes laggy (kinda expecting that). Can someone tell me what's the best approach to this problem? Should I...
Calculate the markers and lines within the current bounds and only show those?
and recalculate on scrolling?
what if the user zooms all the way out, it would still load everything?
Is many two-point line segment polylines more performant or a handful of long complicated polylines?
Thanks!
you should find strategies NOT to add everything all the time.
only have that on the map that you can see.
That means: recalculate on bounds change but also: even if zoomed all the way you shouldn't need to display everything at once

one finger image scaling / Cropping

I'm trying to implement one finger image scaling/Croping on iOS.
Similar to Kirby Turner's one finger rotation.
I'm looking for existing libraries or if you can help me with the code itself, it'll be great.
I'm not quite sure what you mean by one finger cropping, but I made this library for iOS cropping. Maybe it can help. https://github.com/nicholjs/BFCropInterface

Pinch and Zoom on BB Maps

I am trying to find out some way to implement pinch and zoom feature on BlackBerry Maps.
I am using MapField control to implement this feature.
Has someone done that before or have an idea out to implement that on blackberry...?
Waiting for the reply.
Thanks

Resources