Reputation: 1568
Is there a way to open a file chooser in iOS when developing an application with Cordova and Ionic?
In Android I used <input type="file" />
and Android allows me to access files and select a file, but in IOS? How can I open a file chooser? Is there any plugin or system already developed?
Upvotes: 1
Views: 8301
Reputation: 53301
On iOS 9 and greater using the input type file will show you camera, photo library, icloud and any app installed on the device that are declared as a content providers (google drive, one drive, etc)
On iOS 8 you can use this plugin I created
window.FilePicker.pickFile(successCallback,errorCallback);
Upvotes: 2