An image cropper / photo cropper for iOS like in the Contacts app with support for landscape orientation.
[RSKImageScrollView zoomToRect:animated:]
Main changes:
maskRect
as we do for movementRect
maskPath
with the animation of other UI elementsRSKImageScrollView
RSKImageScrollViewDelegate
optional[imageScrollViewDidScroll]
method to RSKImageScrollViewDelegate
image
, imageBackgroundColor
, imageFrame
, and imageSize
properties and [setInitialZoomScaleAndContentOffsetAnimated:]
, [zoomToLocation:animated:]
, and [zoomToRect:animated:]
methods to RSKImageScrollView
zoomView
property and [displayImage:]
method of RSKImageScrollView
RSKImageScrollView
and RSKImageScrollViewDelegate
bounces
and bouncesZoom
to RSKImageCropViewController
(#241)moveAndScaleLabel
, cancelButton
, and chooseButton
(#178, #238)cancelButton
and chooseButton
are ignored while the image is being dragged, decelerated, or zoomed (#234, #242)Fixes #212.
Fixes #210.