Latest 1.9
Homepage https://github.com/dexianyinjiu/MMImagePicker
License MIT
Platforms ios 7.0, requires ARC
Frameworks Foundation, UIKit, AssetsLibrary
Authors

License MIT 
CocoaPods 
CocoaPods 

Usage

MMImagePicker

CocoaPods

  1. pod 'MMImagePicker', '~> 1.9';
  2. pod install / pod update;
  3. #import <MMImagePicker/MMAlbumPickerController.h>.

For example:

MMAlbumPickerController *mmVC = [[MMAlbumPickerController alloc] init];
mmVC.delegate = self;   
mmVC.mainColor = [UIColor blueColor];  
mmVC.maximumNumberOfImage = 9; 
mmVC.showOriginImageOption = YES;

UINavigationController *mmNav = [[UINavigationController alloc] initWithRootViewController:mmVC];
[mmNav.navigationBar setBackgroundImage:[UIImage imageNamed:@"default_bar"] forBarMetrics:UIBarMetricsDefault];
mmNav.navigationBar.barStyle = UIBarStyleBlackOpaque;
mmNav.navigationBar.tintColor = [UIColor whiteColor];
[self.navigationController presentViewController:mmNav animated:YES completion:nil];
#pragma mark - MMImagePickerDelegate
- (void)mmImagePickerController:(MMImagePickerController *)picker didFinishPickingMediaWithInfo:(NSArray *)info
{
     NSLog(@"%@",info);
}

 - (void)mmImagePickerControllerDidCancel:(MMImagePickerController *)picker
{
     NSLog(@"Cancel");
}

Requirements

This library requires iOS 7.0+ and Xcode 7.0+.

License

MMImagePicker is provided under the MIT license. See LICENSE file for details.

Latest podspec

{
    "name": "MMImagePicker",
    "version": "1.9",
    "summary": "A image picker used on iOS.",
    "homepage": "https://github.com/dexianyinjiu/MMImagePicker",
    "license": "MIT",
    "authors": {
        "u5f97u95f2u996eu9152": "[email protected]"
    },
    "source": {
        "git": "https://github.com/dexianyinjiu/MMImagePicker.git",
        "tag": "1.9"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "MMImagePicker/**/*.{h,m}",
    "resources": "MMImagePicker/Resources/*.png",
    "frameworks": [
        "Foundation",
        "UIKit",
        "AssetsLibrary"
    ]
}

Pin It on Pinterest

Share This