Questions tagged phimagemanager

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

How to get videos with PHVideo from iCloud on Xamarin iOS?

I implemented multimedia picker (for images and videos) with DependencyService on Xamarin.Forms app. I have a problem on iCloud videos. When I select video that is on icloud, I can’t get it. My implementation is: async void FinishedPickingAssets(object sender, MultiAssetEventArgs args) { IList<MediaFile> results = new List<MediaFile>(); TaskCompletionSource<IList<MediaFile>> tcs = new TaskCompletionSource<IList<MediaFile>>(); try { var […]

By Pelin Alp
Categorised as Uncategorised 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
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