I'd like to find a way to share assetURL straight to instagram using UIDocumentInteraction while keeping embedded metadata in the asset representation (It turns out that trying to load the asset as an image representation makes you loose any metadata you wanted to transport to instagram, including EXIF-like metadata).
I tried to explore a simple way, as follows:
self.docController = [self setupControllerWithURL:assetURL usingDelegate:self];
But it came into dead-end, I'm stuck with the following error message:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UIDocumentInteractionController: invalid scheme assets-library. Only the file scheme is supported.'
Given that, I'd like to find a way to translate asset-libray:// scheme into absolute file:// scheme.
Any idea, or different approach?
Thanks.