I understand how to create an iOS application that is either a viewer or an editor of a document type. There are several good questions on how to do this:
- How do I associate file types with an iPhone application?
- How do I register a custom filetype in iOS
My Question is this: Once the "editor" application has received the file and made modifications to it, how does the file get back to the original application that requested the file be opened?
Restated: If application 'A' has a file that is edited by application 'Editor', then 'A' can use the UIDocumentInteractionController to open the file in 'Editor'. If I understand correctly, this causes the file to be copied into the "Documents" directory in the sandbox of the application 'Editor'. The application 'Editor' can then make modifications to that file. Once the 'Editor' is done making changes to the file, how then does application 'A' see those changes?