pod 'YKImageCropper', '~> 0.0.3'
UIImage *image = [UIImage imageNamed:@"Sample.jpg"];
YKImageCropperViewController *vc = [[YKImageCropperViewController alloc] initWithImage:image];
vc.cancelHandler = ^() {
// When cancel is tapped
};
vc.doneHandler = ^(UIImage *editedImage) {
// When done is tapped
};
yuyak
YKImageCropper is available under the MIT license. See the LICENSE file for more info.