Issue
I'm trying to put a name to an image when I save it in my folder.
this is my code:
var file2 = await CrossMedia.Current.TakePhotoAsync(new StoreCameraMediaOptions
{
SaveToAlbum = true
});
this take a photo and then save it in /Pictures but I need to name it. by default the name is something like this "IMG_20220818_17585.jpg"
how could I save it with a diferent name?
Thank you very much!
Solution
SOLUTION / UPDATE
this resolved my problem.
var file2 = await CrossMedia.Current.TakePhotoAsync(new StoreCameraMediaOptions
{
Name = "Name that I want",
SaveToAlbum = true
});
Answered By - F205
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.