UIDocumentInteractionController should be or at least expose its UIViewController
| Originator: | steipete | ||
| Number: | rdar://18441404 | Date Originated: | |
| Status: | State:OpenProduct | Resolved: | |
| Product: | Product Version: | ||
| Classification: | Reproducible: |
Summary: I understand that it was a valid design decision at iOS 3 times, but now it really hurts that UIDocumentInteractionController (or also the print one) is a subclass of NSObject and just hides the activityViewController via a private property. We have the concrete issue that we need to know when the view controller dismisses itself. For that we listen to `documentInteractionControllerDidDismissOpenInMenu:`. Unfortunately this is also being called when the user presses the "More..." button to configure the apps. There is no way to detect if it's a dismissal or just a push for the option controller. Steps to Reproduce: Implement `documentInteractionControllerDidDismissOpenInMenu:` Present UIDocumentInteractionController on iOS 8. Press "More..." button Observe that delegate is called. Expected Results: View controller exposed or additional delegate so we can separate the state. Actual Results: No state separation without hacks. Version: iOS 8 GM Notes: Configuration: iPad Air Attachments:
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!