Skip to content

A clone of the UIImagePickerController with multiple selection feature

License

Notifications You must be signed in to change notification settings

hafedh/QBImagePickerController

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

QBImagePickerController

QBImagePickerController is a clone of UIImagePickerController with multiple selection feature.

ScreenShot

ss01.png ss02.png

Installation

#import <AssetsLibrary/AssetsLibrary.h>
#import "QBImagePickerController.h"

in your ViewController.

Usage

QBImagePickerController is not a subclass of UINavigationController.
If you want to show the picker as a modal view, you have to set the picker to topViewController property of an instance of UINavigationController and use it. If you want to push the picker to NavigtionController, you don't have to do anything.

Example

QBImagePickerController *imagePickerController = [[[QBImagePickerController alloc] init] autorelease];
imagePickerController.delegate = self;
imagePickerController.filterType = QBImagePickerFilterTypeAllPhotos;
imagePickerController.showsCancelButton = YES;
imagePickerController.fullScreenLayoutEnabled = YES;
imagePickerController.allowsMultipleSelection = YES;

imagePickerController.limitsMaximumNumberOfSelection = YES;
imagePickerController.maximumNumberOfSelection = 6;

UINavigationController *navigationController = [[[UINavigationController alloc] initWithRootViewController:imagePickerController] autorelease];
[self presentViewController:navigationController animated:YES completion:NULL];

License

QBImagePickerController is released under the MIT License, see LICENSE.txt.

About

A clone of the UIImagePickerController with multiple selection feature

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published