As per the official guide, using DocumentPicker, currently I am able to select 1 file from the iOS device.
How can I select multiple files using the same? Is it even possible?
2 Answers
Selecting multiple files using UIDocumentPickerViewController can be done with allowsMultipleSelection property, as shown below:
documentPicker.allowsMultipleSelection = true
Comments
For that just set one counter,In which counter review the picker until you whant and each save previous file path to "shared preferences" by using that you can select multiple files.
1 Comment
Prerak Sola
I will not know, how much files user wants to select and even if I ask the user to input it, I will have to launch the picker multiple times. That's not a good design practice.