pod 'YKImageCropper', :git => 'https://github.com/yuyak/YKImageCropper'
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 遵守 MIT 许可协议。有关更多信息,请参阅 LICENSE 文件。