You need to sign in to do that
Don't have an account?
rjayram
Pinch and Zoom gestures SalesForce Hybrid App IOS
Hi,
I am using a SalesForce Hybrid App for IOS. Can someone please tell me how to implement pinch and zoom and the ability to respond to gestures on my app?
Thanks,
Jayram
I don't think there's an easy single answer to that. If you're using the hybrid approach, you either need a framework that gives you hooks into the major devices' gesture APIs, or you need to do some javascript coding to generically define and detect the gestures you want. I see a few examples out there - Sencha's API has an Event class that attempts to handle gestures across all devices (event.recognizer.Pinch) to call out one that's easy to find.
If you're building native iOS, you'd want to get familiar with the iOS Gesture Recognizers (http://developer.apple.com/library/ios/#documentation/EventHandling/Conceptual/EventHandlingiPhoneOS/GestureRecognizers/GestureRecognizers.html).
Beyond that, it really depends on what you want pinch-and-zoom applied to (is it an image, text, entire web screen, etc) and how you design your UI.