Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 632 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 632 Bytes

CustomImagePicker

========================

CustomImagePicker is a block based implementation of UIImagePickerController. Purpose of this library is to help developer to pick the image with minimum number of lines.

For implementation you need to import MImagePickerController:

#import "MImagePickerController.h"

Now call method as follows:

    MImagePickerController *controller = [[MImagePickerController alloc] init];
    controller.allowEditing = YES;

    [controller pickImageFromGalleryWithCompletionBlock:^(UIImage *image) {
    _imageView.image = image;
    } andFailureBlock:^(NSError *error) {

}];