1and2papa / CTAssetsPickerController

iOS control that allows picking multiple photos and videos from user's photo library.
MIT License
2.15k stars 550 forks source link

Support Custom Fetch Result #222

Open felix-dumit opened 8 years ago

felix-dumit commented 8 years ago

I had a scenario where I wanted to use the picker to select the assets among an already established PHFetchResult, without the need to show all the albums.

Now you can set the pickFromFetch property of the picker which will enable this option.

example:

CTAssetsPickerController *picker = [[CTAssetsPickerController alloc] init];
 // set delegate
picker.delegate = self;
// set custom fetch
picker.pickFromFetch = [PHAsset fetchAssetsWithOptions:nil];
1and2papa commented 8 years ago

@felix-dumit Sounds cool. Unfortunately I am very busy on my personal matter recently and this PR might not be merged within short period of time. Hope you don't mind.

1and2papa commented 8 years ago

Sorry, development of this project is suspended. This PR would be merged.