Skip to content

arnath/capacitor-ios-file-picker

Repository files navigation

capacitor-ios-file-picker

Allows picking one or more files/directories on iOS, including files from outside your app's sandbox. Under the covers, we use the iOS UIDocumentPickerViewController and security-scoped URLs to accomplish this.

Install

npm install capacitor-ios-file-picker
npx cap sync

API

chooseDirectory()

chooseDirectory() => Promise<UrlBookmark>

Returns: Promise<UrlBookmark>


accessDirectory(...)

accessDirectory(options: UrlBookmark) => Promise<SecureUrl>
Param Type
options UrlBookmark

Returns: Promise<SecureUrl>


releaseDirectory(...)

releaseDirectory(options: UrlBookmark) => Promise<void>
Param Type
options UrlBookmark

Interfaces

UrlBookmark

Prop Type
urlBookmark string

SecureUrl

Prop Type
url string

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published