Questions tagged photokit

Explore the latest questions and answers asked by our top developers.

How to Not fetch screenshots from Photos library iOS

I am trying to fetch Photos from Photo library and I want to show only images from the Photo Library. I do not want to show videos. I am using PHFetchOptions to fetch PHAssets from Photos library. Also I have provided a predicate to fetch only the photos. Below is my code: let allPhotosOptions = […]

By FE Tech
Published
Categorised as ios, nspredicate, photokit, swift Tagged , , ,

BookmarkHow to use PHImageManager.DefaultManager.RequestAvAsset correctly? AvAsset is always null

asset is not null but avAsset always comes up as null. That’s why I can’t get video url. How can I fix this? PHImageManager.DefaultManager.RequestAvAsset(asset, vOptions, (avAsset, audioMix, vInfo) => { if (avAsset != null) { videoUrl = ((AVFoundation.AVUrlAsset)avAsset).Url.Path; } }); await Task.Delay(5000); Source: Xamarin.ios Questions

By psyduck
Published
Categorised as Uncategorised Tagged , , , ,

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq