DDPhotoAlbum 1.1.1

DDPhotoAlbum 1.1.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jan 2018

Maintained by dd2333.



  • By
  • dd2333

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.

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 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.