Hello,
Welcome to our Microsoft Q&A platform!
I try below code, it run smoothly without any error, but I dont know wheres the downloaded file located
The file will be stored under the 'Documents' folder of the application. The Environment.SpecialFolder.Personal
path will map to: /Documents
folder on iOS.
IOS imposes some restrictions on what an application can do with the file system to preserve the security of an application’s data, and to protect users from malignant apps. An application is limited to reading and writing files within its home directory (installed location); it cannot access another application’s files. It's unable to download the file to a folder that does not belong to the application directly.
Check the links:
https://stackoverflow.com/questions/47237414/what-is-the-best-environment-specialfolder-for-store-application-data-in-xamarin
https://learn.microsoft.com/en-us/xamarin/ios/app-fundamentals/file-system
Best Regards,
Jarvan Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.