Skip to content

guolingege/NMImagePickerController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NMImagePickerController

A controller for picking photos from album

Intro:
   Copied Wechat's image picker controller;
   Optimized memory usage;
   The memory usage will be increase quickly only when the properies 'needDistinctSized' or 'needThumbnailDistinctSized' is YES;
   You can pick image or image data or both!
   The preview view supports four gesture recognizers:single tap, double tap, pinch and pan;
   There is an error with the pan gesture recognizer while you use it to exit the preview view;
   The rotation gesture recognizer is comming soon....

Usage example:
   import "NMImagePickerController.h" first.

    NMImagePickerController *ipc = [NMImagePickerController new];
    ipc.maximumSelectionCount = 4;
    ipc.imagePickerReturnType = NMImagePickerReturnTypeData|NMImagePickerReturnTypePreferSizedImage|NMImagePickerReturnTypeThumbnail;
    ipc.delegate = self;
    [self presentViewController:ipc animated:YES completion:nil];

About

A controller for picking photos from album

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published