TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Sep 2016 |
Maintained by Meniny.
MXImagePicker
is an image picker for iOS platform.
#import "MXImagePicker.h"
<MXImagePickerControllerDelegate>
MXImagePickerController *imagePickerController = [MXImagePickerController new];
imagePickerController.mediaType = MXImagePickerMediaTypeImage;
//imagePickerController.mediaType = MXImagePickerMediaTypeVideo;
imagePickerController.allowsMultipleSelection = YES;
imagePickerController.showsNumberOfSelectedAssets = YES;
imagePickerController.minimumNumberOfSelection = 1;
imagePickerController.maximumNumberOfSelection = 10;
imagePickerController.delegate = self;
[self presentViewController:imagePickerController animated:YES completion:NULL];
- (void)mx_imagePickerControllerDidCancel:(MXImagePickerController *)imagePickerController {
}
- (void)mx_imagePickerController:(MXImagePickerController *)imagePickerController didFinishPickingAssets:(NSArray <PHAsset *>*)assets {
}