ldi

LDImagePicker

自定义系统相册图片裁剪

Showing:

Popularity

Downloads/wk

0

GitHub Stars

52

Maintenance

Last Commit

3yrs ago

Contributors

2

Package

Dependencies

0

License

MIT

Categories

Readme

LDImagePicker

本项目是使用系统的UIImagePickerController和自定制裁剪框VPImageCropperViewController来实现从手机相册取出图片或拍摄图片然后自定义尺寸剪切获取的图片。

使用方法:

LDImagePicker *imagePicker = [LDImagePicker sharedInstance];
imagePicker.delegate = self;
//设置宽高比,宽度固定位屏幕宽度
[imagePicker showImagePickerWithType:buttonIndex InViewController:self Scale:0.75];

- (void)imagePickerDidCancel:(LDImagePicker *)imagePicker{

}
- (void)imagePicker:(LDImagePicker *)imagePicker    didFinished:(UIImage *)editedImage{
self.imgeView.image = editedImage;
}

支持使用pod管理

pod 'LDImagePicker'

如果喜欢,请帮忙点颗星星✨

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100