TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Tarun Tyagi.
AssetPicker
is a UIViewController
subclass that provides an alternative solution to standard UIImagePickerController. Highlights are :-
pod 'AssetPicker'
Configuring AssetPicker is just like this :
[AssetPicker showAssetPickerIn:self.navigationController
maximumAllowedPhotos:4
maximumAllowedVideos:4
completionHandler:^(AssetPicker* picker, NSArray* assets)
{
NSLog(@"Assets --> %@", assets);
// Do your stuff here
// All done with the resources, let's reclaim disk memory
[AssetPicker clearLocalCopiesForAssets];
}
cancelHandler:^(AssetPicker* picker)
{
NSLog(@"Cancelled.");
}];
and your work is done. AssetPicker does it all for you.
Demo app includes just the above 'How To Use' code for reference.