Skip to content

How do I get chosen directory? #45

@NvVijayakumara

Description

@NvVijayakumara

Hi.

I've used your library for my project, how do I get chosen directory url. Please help me.
Following is my code -

let fileExplorer = FileExplorerViewController()

fileExplorer.canRemoveFiles = false
fileExplorer.canRemoveDirectories = false
fileExplorer.canChooseFiles = false
fileExplorer.canChooseDirectories = true

// filter
fileExplorer.fileFilters = [Filter.type(.directory)]

self.present(fileExplorer, animated: true, completion: {
print("want to print chosen directory url")
})

Thanks for the library, you've done great work.

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