UIGestureRecognizer subclass to enable one-finger-zoom gestures.
This concrete subclass of
UIGestureRecognizer enables one-finger-zooming (like in the Google Maps iOS app). It has support for elastic bouncing, like
If you're going to use this with
UIScrollView or want to see it in action make sure to check out BDDRScrollViewAdditions.
Simply add the files in the
BDDROneFingerZoomGestureRecognizer.m to your project or add
BDDROneFingerZoomGestureRecognizer to your Podfile if you're using CocoaPods.
There are several properties that change the default behavior, especially interesting are
allowableMovement. For more info see the header.
Follow @bddckr on Twitter.
Copyright (c) 2013-2014 Christopher - Marcel Böddecker
Licensed under The MIT License (MIT).