Keyur Faldu
Keyur Faldu

Reputation: 44

Can we select multiple files in single attempt using UIDocumentMenuViewController if yes then how?

In my current project I am using UIDocumentMenuViewController and its working perfectly fine with single file selection.

Now I want to allow user to select multiple file at a time. let say 10 file max in single attempt. I have tried to find out may URLs but did not get any solution.

Please provide solution on that. Thanks in advance.

Upvotes: 1

Views: 788

Answers (2)

amit_donga
amit_donga

Reputation: 224

According to documentation

1). A document interaction controller, along with a delegate object, provides in-app support for managing user interactions with files in the local system.

2). For example, an email program might use this class to allow the user to preview attachments and open them in other apps.

3). Use this class to present an appropriate user interface for previewing, opening, copying, or printing a specified file.

4). So only one file can be shared among two apps using UIDocumentInteractionController.

Upvotes: 1

Prissy Eve
Prissy Eve

Reputation: 156

you can use UIDocumentPickerViewController for select multiple files

Upvotes: 1

Related Questions