How to get the file path from Picker_FinishedPickingAssets?
Closed this issue · 3 comments
SatyaRamprasad commented
How to get the file path from Picker_FinishedPickingAssets?
roycornelissen commented
Hi, I've added some sample code to the demo app that demonstrates this. Basically, once you have obtained the asset (a PHAsset
object), you can do this:
// Get information about the asset, e.g. file patch
asset.RequestContentEditingInput(new PHContentEditingInputRequestOptions(),
(input, _) =>
{
Console.WriteLine(input.FullSizeImageUrl);
});
SatyaRamprasad commented
Hi @roycornelissen,
It is not working in synchronous mode.
nguyenthanhliemfc commented
Why we need await Task.Delay(1000);
for every image