The Document Provider Extension interface shows a "Done" button in the top-right but it's really a cancel button

Originator:davidz
Number:rdar://18033342 Date Originated:August 15, 2015
Status:Open Resolved:
Product:iOS Product Version:8.0b5
Classification: Reproducible:Yes
 
Summary:
The "Done" button in the top-right corner of the document provider extension interface performs a cancel action and does not allow the extension to actually "do" the thing that is being "done"

Steps to Reproduce:
Here is an example in "export" mode; similar confusion arises in the other three modes.

1. User would like to export a file from Foo App into the Bar Document Provider.
2. In Foo App, user launches the Bar Document Provider extension.
3. The document provider extension shows a list of folders where the document can be saved.
4. The user navigates to the appropriate folder.
5. The user wishes to save the document into this folder and taps "Done"

Expected Results:
The document is saved into the folder

Actual Results:
"Done" does not provide any callbacks to the extension and dismisses the view as a "cancel" button should. The extension does not get any chance to save the file or perform any action.

Version:
Any iOS 8 beta <= 5

Notes:


Configuration:
iPhone device and simulator

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!