Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Custom Fetch Result #222

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

felix-dumit
Copy link

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
Copy link
Owner

@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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants