This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@implementation UIScrollView (ZoomToPoint) | |
/** | |
Zooms into the specified point of the scroll view's zoomable content view at the supplied scaled. | |
(The zoomable content view is the view that is returned in `viewForZoomingInScrollView:` | |
@param zoomPoint - In terms of the scroll view's co-ordinate space, the point to zoom to | |
@param scale - A value between minimumZoomScale and maximumZoomScale in which to zoom to. | |
@param animated - Whether the transition is animated, or instant | |