Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Absolute path for the internal storage on iOS device #70

Open
Muhammadfaizann opened this issue Oct 16, 2022 · 0 comments
Open

Absolute path for the internal storage on iOS device #70

Muhammadfaizann opened this issue Oct 16, 2022 · 0 comments

Comments

@Muhammadfaizann
Copy link

Hey everyone, I am using PCLStorage to interact with local files on both Android and iOS platforms.

I am using the following code snippet.

IFolder rootFolder = await FileSystem.Current.GetFolderFromPathAsync(path);
IFolder folder = await rootFolder.CreateFolderAsync("HandSAppPdf", CreationCollisionOption.OpenIfExists);
IFile file = await folder.CreateFileAsync("Hello.pdf", CreationCollisionOption.GenerateUniqueName);

in the case of Android, I have the

path ="/storage/emulated/0/"

But I am not sure what would be the path in the case of iOS. if anyone can help me out, I would much appreciate that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant