Skip to content

Absolute path for the internal storage on iOS device  #70

@mfaizey

Description

@mfaizey

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions