0.0.11 • Published 3 years ago
capacitor-ios-file-picker v0.0.11
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 syncAPI
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 |