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

Unable to get assetFetchOptions options in Objective-C #103

Open
shanthaAithertech opened this issue May 28, 2021 · 0 comments
Open

Unable to get assetFetchOptions options in Objective-C #103

shanthaAithertech opened this issue May 28, 2021 · 0 comments

Comments

@shanthaAithertech
Copy link

I'm not able to get the assetFetchOptions options in objective-c so unable to set the fetchOptions.predicate. I want to fetch only images form library but it is showing video.

PHFetchOptions *fetchOptions = [PHFetchOptions new];
fetchOptions.predicate = [NSPredicate predicateWithFormat:@"mediaType == %d", PHAssetMediaTypeImage];

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

No branches or pull requests

1 participant