Hi,

my iOS 7 app shares data with other apps on the device using UIDocumentInteractionController's openIn. Works fine.

The problem is that I'd like to share different file formats (all of which are declared and exported by UTIs from our app), depending on which app is the recipient.

I tried to use the -documentInteractionController:willBeginSendingToApplication: delegate method to setup the exported file and its URL, but unfortunately the URL property must be set and be available before that method when the controller is presented.

The documentation claims that URL can be set after initialization but I fail to see how that is true, except of course that you can call setURL before presenting the controller, which is rather pointless.

I would be equally fine with offering a number of different UTIs for export and let UIDocumentInteractionController negotiate the format that should be generated.

Any ideas on how to solve this?

Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to