Latest 1.1.1
Homepage https://github.com/dd2333/DDPhotoAlbum
License MIT
Platforms ios 7.0, requires ARC
Frameworks AssetsLibrary, AVFoundation
Authors

image

iOS library that provides for multiple image selection.
github
Installation

Download DDPhotoAlbum and try out the included iPhone example apps

Requirements

  • iOS 7.0+
  • ARC

Usage

  • The simulator does not support the camera.

Cocoapods import:

  • Pop is available on CocoaPods. Just add the following to your project Podfile:

    pod 'DDPhotoAlbum', '~> 1.1.1'

  • Use by including the following import:
    #import <DDPhotoAlbum.h>

Manual import´╝Ü

  • Drag All files in the DDPhotoAlbum folder to project
  • Use by including the following import:
    #import "DDPhotoAlbum.h"

Open the Album

DDPhotoAlbumViewController *photoAlbumViewController = [[DDPhotoAlbumViewController alloc]init];
photoAlbumViewController.maxPhotos = self.maxPhotos;
photoAlbumViewController.isShowCamera = self.isShowCamera;
photoAlbumViewController.didSelectAutoBack = YES;
[photoAlbumViewController setPreLoadingImages:_thumbnailImages imageUrls:_imageUrls];
[photoAlbumViewController setDidSelectedBlock:^(NSArray *images,NSArray *thumbnailImages,NSArray *imagesUrl) {
    _thumbnailImages = thumbnailImages;
    _imageUrls = imagesUrl;
    //handle
}];
[photoAlbumViewController setDidCancelBlock:^{
    //handle
}];
[self presentViewController:photoAlbumViewController animated:YES completion:nil];

License

DDPhotoAlbum is released under the MIT license. See LICENSE for details.

Latest podspec

{
    "name": "DDPhotoAlbum",
    "version": "1.1.1",
    "summary": "iOS library that provides for multiple image selection.",
    "description": "iOS library that provides for multiple image selection...",
    "homepage": "https://github.com/dd2333/DDPhotoAlbum",
    "license": "MIT",
    "authors": {
        "dd2333": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/dd2333/DDPhotoAlbum.git",
        "tag": "1.1.1"
    },
    "source_files": [
        "DDPhotoAlbum",
        "DDPhotoAlbum/DDPhotoAlbum/DDPhotoAlbum/**/*.{h,m}"
    ],
    "resources": [
        "DDPhotoAlbum/DDPhotoAlbum/DDPhotoAlbum/DDPhotoAlbum.bundle",
        "DDPhotoAlbum/DDPhotoAlbum/DDPhotoAlbum/**.lproj"
    ],
    "frameworks": [
        "AssetsLibrary",
        "AVFoundation"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This