模仿微信的图片裁剪功能,调用非常简单,导入框架后使用一下代码即可调用
NoticeCropImageView *cropImageView = [[NoticeCropImageView alloc] initCropViewWithImage:[UIImage imageWithData:data] andToView:self];
cropImageView.getCropImageBlock = ^(UIImage * _Nonnull cropImage) {
};