We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
if i only want photo,don't need video or audio,what's can i do? 可以限制只需要图片,不需要音频或视频吗。如果该可以,该怎样设置呢?
The text was updated successfully, but these errors were encountered:
picker.assetsFilter = [ALAssetsFilter allPhotos];
Sorry, something went wrong.
picker.assetsFilter doesn't exist
// use image // let pridicate = NSPredicate(format: "mediaType == %d", PHAssetMediaType.image.rawValue) // use video let pridicate = NSPredicate(format: "mediaType == %d", PHAssetMediaType.video.rawValue) let fetchOptions = PHFetchOptions() fetchOptions.predicate = predicate picker.assetsFetchOptions = fetchOptions
No branches or pull requests
if i only want photo,don't need video or audio,what's can i do?
可以限制只需要图片,不需要音频或视频吗。如果该可以,该怎样设置呢?
The text was updated successfully, but these errors were encountered: