UIDocumentBrowserViewController.allowsPickingMultipleItems is not fine-grained enough

Originator:matthias.tretter
Number:rdar://32846182 Date Originated:19-Jun-2017 12:08 PM
Status:Open Resolved:
Product:iOS + SDK Product Version:iOS 11b1
Classification:Enhancement Reproducible:Always
 
Summary:
We can customize, whether the document browser allows to pick multiple items or not by specifying `allowsPickingMultipleItems`. We can also specify whether custom UIDocumentBrowserActions can work on multiple items or not by specifying `supportsMultipleItems`. We can however not specify, whether our app supports opening of multiple documents. What we want is to configure UIDocumentBrowserViewController in a way that it allows to pick multiple items, but only open a single document.

Steps to Reproduce:
1. Open the attached DocumentBrowser-based app
2. create 2 new documents
3. tap on select
4. select both

Expected Results:
The "open" button is disabled

Actual Results:
The "open" button is enabled and there’s no way to disable it

Version:
iOS 11b1

Notes:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!